]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/unicode/charcnv.c
MachineType string is up to 16 characters
[netatalk.git] / libatalk / unicode / charcnv.c
index 4cad3e9c60f815ba18e8759fb82a0a4442d55d60..98e8ffccd53b28905f752591777d292725dc7ec8 100644 (file)
@@ -191,7 +191,7 @@ static void lazy_initialize_conv(void)
     }
 }
 
-charset_t add_charset(char* name)
+charset_t add_charset(const char* name)
 {
     static charset_t max_charset_t = NUM_CHARSETS-1;
     charset_t cur_charset_t = max_charset_t+1;
@@ -889,7 +889,7 @@ static size_t push_charset_flags (charset_t to_set, charset_t cap_set, char* src
     char* outbuf = (char*)dest;
     atalk_iconv_t descriptor;
     atalk_iconv_t descriptor_cap;
-    char escch;
+    char escch;                 /* 150210: uninitialized OK, depends on j */
 
     descriptor = conv_handles[CH_UCS2][to_set];
     descriptor_cap = conv_handles[CH_UCS2][cap_set];