diff options
author | Rob Landley <rob@landley.net> | 2016-02-25 18:10:35 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-02-25 18:10:35 -0600 |
commit | f9ca79a7b7762bdc698efb7c34ecaac63540eacb (patch) | |
tree | e1730bb91756fd57ef5ed0baa2b9f9bda1c5b786 /toys/other | |
parent | 8fffeffdf259bc1a7c2c8055a0bbc3f4c508ed76 (diff) | |
download | toybox-f9ca79a7b7762bdc698efb7c34ecaac63540eacb.tar.gz |
Fix more warnings on 32 bit builds.
Diffstat (limited to 'toys/other')
-rw-r--r-- | toys/other/hexedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/other/hexedit.c b/toys/other/hexedit.c index a9d97aa2..ffa304c3 100644 --- a/toys/other/hexedit.c +++ b/toys/other/hexedit.c @@ -50,9 +50,9 @@ static int draw_char(FILE *fp, wchar_t broiled) if (broiled==127) broiled = 32; else broiled += 64; } - printf("%c", broiled); + printf("%c", (int)broiled); tty_esc("0m"); - } else printf("%c", broiled); + } else printf("%c", (int)broiled); } return 1; |