Fix some of the Errors/warnings detected by checkapi.
[obnox/wireshark/wip.git] / epan / uat.c
index 632267f070d0df390a2f8a1b1d569c0e71c333dd..3d1669119042fa74f6cfb05c4e7b61747a178422 100644 (file)
@@ -381,7 +381,7 @@ gboolean uat_fld_chk_str(void* u1 _U_, const char* strptr, unsigned len _U_, voi
 gboolean uat_fld_chk_proto(void* u1 _U_, const char* strptr, unsigned len, void* u2 _U_, void* u3 _U_, const char** err) {
        if (len) {
                char* name = ep_strndup(strptr,len);
-               g_strdown(name);
+               g_ascii_strdown(name,len);
                g_strchug(name);
 
                if (find_dissector(name)) {