]> arthur.barton.de Git - netatalk.git/commitdiff
C99 fixed width ints
authorFrank Lahm <franklahm@googlemail.com>
Tue, 3 Jan 2012 14:28:32 +0000 (15:28 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Tue, 3 Jan 2012 14:28:32 +0000 (15:28 +0100)
libatalk/unicode/util_unistr.c

index e5ea4ba0fcea2cd8def574b835432305a0024c50..ce3355df980c84c0f65e65f13f9b55ddd6556a86 100644 (file)
@@ -262,7 +262,7 @@ ucs2_t *strcasestr_w(const ucs2_t *s, const ucs2_t *ins)
 
        if ((0xD800 <= *ins) && (*ins < 0xDC00)) {
                if ((0xDC00 <= ins[1]) && (ins[1] < 0xE000)) {
-                       u_int32_t ins_sp = (u_int32_t)*ins << 16 | (u_int32_t)ins[1];
+                       uint32_t ins_sp = (uint32_t)*ins << 16 | (uint32_t)ins[1];
                        while ((r = strcasechr_sp(r, ins_sp))) {
                                if (strncasecmp_w(r, ins, inslen) == 0) return r;
                                r++;