projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8884e
)
Use fprintf and %lc to output a wchar_t.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 29 Nov 2008 09:11:07 +0000
(09:11 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 29 Nov 2008 09:11:07 +0000
(09:11 +0000)
[r24135]
diagnostic.c
patch
|
blob
|
history
diff --git
a/diagnostic.c
b/diagnostic.c
index
eacf085
..
babdf9d
100644
(file)
--- a/
diagnostic.c
+++ b/
diagnostic.c
@@
-68,7
+68,7
@@
static void diagnosticvf(const char *const fmt, va_list ap)
case 'C': {
const wint_t val = va_arg(ap, wint_t);
- fp
utwc(val, stderr
);
+ fp
rintf(stderr, "%lc", val
);
break;
}