summaryrefslogtreecommitdiff
path: root/source3/lib/kanji.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-06-10 23:15:42 +0000
committerJeremy Allison <jra@samba.org>1998-06-10 23:15:42 +0000
commitcd3de05fb53852cd0951cf7c9bc44ea0fbd66276 (patch)
tree19765c8f9c9fc53e2da0db9bcba58ae67c3e0bd5 /source3/lib/kanji.c
parentd4366df039dfd730fe24c95b9ef7d59306f35309 (diff)
downloadsamba-cd3de05fb53852cd0951cf7c9bc44ea0fbd66276.tar.gz
samba-cd3de05fb53852cd0951cf7c9bc44ea0fbd66276.tar.bz2
samba-cd3de05fb53852cd0951cf7c9bc44ea0fbd66276.zip
Minor changes as I've now discovered gcc -pedantic-errors. This
does the signed/unsigned warnings I've been missing. Jeremy (This used to be commit 6d94e67624d1f2c08ac2e1c0eea23facd1e618f2)
Diffstat (limited to 'source3/lib/kanji.c')
-rw-r--r--source3/lib/kanji.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/kanji.c b/source3/lib/kanji.c
index afe255d36a..523eb178e2 100644
--- a/source3/lib/kanji.c
+++ b/source3/lib/kanji.c
@@ -411,7 +411,7 @@ static char *sj_to_euc(char *from, BOOL overwrite)
*out++ = code;
from += 2;
} else if (is_kana (*from)) {
- *out++ = euc_kana;
+ *out++ = (char)euc_kana;
*out++ = *from++;
} else {
*out++ = *from++;