summaryrefslogtreecommitdiff
path: root/xed.c
diff options
context:
space:
mode:
authorIan C <deathstation9000@gmail.com>2022-12-09 15:17:10 +0000
committerIan C <deathstation9000@gmail.com>2022-12-09 15:17:10 +0000
commitad03d55fa14822d70dcd39582859136f48ca8cc1 (patch)
tree2cb5ed359a55bfafaff10940dc2a1fb98f88e6e9 /xed.c
parent0825422350f77040a7fcdbbc0882ce8b1d594ba1 (diff)
Changed some casts to printfHEADmaster
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 296a129..0319d85 100644
--- a/xed.c
+++ b/xed.c
@@ -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)'.');