diff options
Diffstat (limited to 'xed.c')
-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) |