diff options
author | Ian C <deathstation9000@gmail.com> | 2022-12-09 15:17:10 +0000 |
---|---|---|
committer | Ian C <deathstation9000@gmail.com> | 2022-12-09 15:17:10 +0000 |
commit | ad03d55fa14822d70dcd39582859136f48ca8cc1 (patch) | |
tree | 2cb5ed359a55bfafaff10940dc2a1fb98f88e6e9 /xed.c | |
parent | 0825422350f77040a7fcdbbc0882ce8b1d594ba1 (diff) |
Diffstat (limited to 'xed.c')
-rw-r--r-- | xed.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1291,7 +1291,7 @@ void Display(void) mvaddstr(r,11+f*3,"**"); else { - mvprintw(r,11+f*3,"%2.2X",(uchar)b); + mvprintw(r,11+f*3,"%2.2X",(unsigned)b); if ((b<32)||(b>126)) mvaddch(r,62+f,(chtype)'.'); @@ -1324,7 +1324,7 @@ void PartialDisplay(long cur, int x, int y) mvaddstr(r,11+f*3,"**"); else { - mvprintw(r,11+f*3,"%2.2X",(uchar)b); + mvprintw(r,11+f*3,"%2.2X",(unsigned)b); if ((b<32)||(b>126)) mvaddch(r,62+f,(chtype)'.'); @@ -1381,7 +1381,7 @@ void ReplaceValue(long p,long b) y=3+(p-page_ptr)/16; x=(p-page_ptr)%16; - mvprintw(y,11+x*3,"%2.2X",(uchar)b); + mvprintw(y,11+x*3,"%2.2X",(unsigned)b); if ((b<32)||(b>126)) mvaddch(y,62+x,(chtype)'.'); @@ -1414,7 +1414,7 @@ void UpdateValue(long p, int b) if (overtype) { - mvprintw(y,11+x*3,"%2.2X",(uchar)b); + mvprintw(y,11+x*3,"%2.2X",(unsigned)b); if ((b<32)||(b>126)) mvaddch(y,62+x,(chtype)'.'); |