summaryrefslogtreecommitdiff
path: root/xed.c
diff options
context:
space:
mode:
authorIan C <deathstation9000@gmail.com>2022-12-09 15:15:19 +0000
committerIan C <deathstation9000@gmail.com>2022-12-09 15:15:19 +0000
commit0825422350f77040a7fcdbbc0882ce8b1d594ba1 (patch)
tree54af1929a6245caf3a28eff47d61587b726674ea /xed.c
parentf39486d4594f06d7c9ad07de5715c31ac76c3005 (diff)
Fixed warnings about printf arguments
Diffstat (limited to 'xed.c')
-rw-r--r--xed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xed.c b/xed.c
index a446e21..296a129 100644
--- a/xed.c
+++ b/xed.c
@@ -1284,7 +1284,7 @@ void Display(void)
while(r<LINES-3)
{
- mvprintw(r,0,"%8.8X :",cur);
+ mvprintw(r,0,"%8.8lX :",cur);
for(f=0;f<16;f++)
if ((b=GetByte(cur++))==-1)
@@ -1317,7 +1317,7 @@ void PartialDisplay(long cur, int x, int y)
while(r<LINES-3)
{
if (!x)
- mvprintw(r,0,"%8.8X :",cur);
+ mvprintw(r,0,"%8.8lX :",cur);
for(f=x;f<16;f++)
if ((b=GetByte(cur++))==-1)
@@ -1446,8 +1446,8 @@ void ShowCursor(void)
void ShowPos(void)
{
- mvprintw(1,0,"Pos : %8.8x",file_ptr);
- mvprintw(0,40,"File size : %8.8x",file_len);
+ mvprintw(1,0,"Pos : %8.8lx",file_ptr);
+ mvprintw(0,40,"File size : %8.8lx",file_len);
/* Print Status line */
if (readonly)