diff options
author | Ian C <deathstation9000@gmail.com> | 2022-12-09 15:15:19 +0000 |
---|---|---|
committer | Ian C <deathstation9000@gmail.com> | 2022-12-09 15:15:19 +0000 |
commit | 0825422350f77040a7fcdbbc0882ce8b1d594ba1 (patch) | |
tree | 54af1929a6245caf3a28eff47d61587b726674ea | |
parent | f39486d4594f06d7c9ad07de5715c31ac76c3005 (diff) |
Fixed warnings about printf arguments
-rw-r--r-- | xed.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |