projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix gcc4 warnings
[reactos.git]
/
reactos
/
tools
/
unicode
/
wctomb.c
diff --git
a/reactos/tools/unicode/wctomb.c
b/reactos/tools/unicode/wctomb.c
index
68be134
..
aed4303
100644
(file)
--- a/
reactos/tools/unicode/wctomb.c
+++ b/
reactos/tools/unicode/wctomb.c
@@
-196,7
+196,7
@@
static int wcstombs_sbcs_slow( const struct sbcs_table *table, int flags,
int tmp;
WCHAR composed;
- if (!defchar) defchar = &table_default;
+ if (!defchar) defchar =
(const char*)
&table_default;
if (!used) used = &tmp; /* avoid checking on every char */
*used = 0;