diff options
-rw-r--r-- | lib/libkiconv/xlat16_iconv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkiconv/xlat16_iconv.c b/lib/libkiconv/xlat16_iconv.c index c714961..58d4ec8 100644 --- a/lib/libkiconv/xlat16_iconv.c +++ b/lib/libkiconv/xlat16_iconv.c @@ -146,8 +146,8 @@ kiconv_xlat16_open(const char *tocode, const char *fromcode, int lcase) xt.data = NULL; xt.size = 0; - src[2] = NULL; - dst[3] = NULL; + src[2] = '\0'; + dst[3] = '\0'; ret = my_iconv_init(); if (ret) |