~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let's not use parentheses in test.but in a way that tempts Halibut
[sgt/halibut]
/
error.c
diff --git
a/error.c
b/error.c
index
2a2c6cd
..
7897d7a
100644
(file)
--- a/
error.c
+++ b/
error.c
@@
-18,7
+18,8
@@
static void do_error(int code, va_list ap) {
char c;
int i, j;
char *sp, *sp2;
char c;
int i, j;
char *sp, *sp2;
- wchar_t *wsp, *wsp2, wc;
+ wchar_t *wsp, *wsp2;
+ unsigned wc;
filepos fpos, fpos2, *fposp;
int flags = 0;
filepos fpos, fpos2, *fposp;
int flags = 0;
@@
-376,7
+377,7
@@
static void do_error(int code, va_list ap) {
break;
case err_sfntbadglyph:
fpos = *va_arg(ap, filepos *);
break;
case err_sfntbadglyph:
fpos = *va_arg(ap, filepos *);
- wc = va_arg(ap,
wchar_t
);
+ wc = va_arg(ap,
unsigned
);
sprintf(error,
"warning: character U+%04X references an non-existent glyph",
wc);
sprintf(error,
"warning: character U+%04X references an non-existent glyph",
wc);