]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
Fix build on arm64
authorbapt <bapt@FreeBSD.org>
Sat, 7 Nov 2015 15:03:45 +0000 (15:03 +0000)
committerbapt <bapt@FreeBSD.org>
Sat, 7 Nov 2015 15:03:45 +0000 (15:03 +0000)
usr.bin/localedef/wide.c

index f1e05c5f16fed47f5a7e5f3b53142354daee4268..d51b51f519941db9aa7f21503d5d2fe443a57362 100644 (file)
@@ -210,7 +210,7 @@ towide_utf8(wchar_t *wc, const char *mb, unsigned n)
 {
        wchar_t c;
        int     nb;
-       int     lv;     /* lowest legal value */
+       wchar_t lv;     /* lowest legal value */
        int     i;
        const uint8_t *s = (const uint8_t *)mb;