ICU-3500 Fix some compiler warnings.

X-SVN-Rev: 14840
This commit is contained in:
George Rhoten 2004-04-02 01:04:37 +00:00
parent 4b44c2c1f1
commit 937c5cbe2b

View file

@ -1642,7 +1642,7 @@ The leftmost codepage (.xxx) wins.
if ((q = uprv_strchr(p, '.')) != NULL) {
/* How big will the resulting string be? */
len = uprv_strlen(correctedPOSIXLocale) + (q-p);
len = (int32_t)(uprv_strlen(correctedPOSIXLocale) + (q-p));
uprv_strncat(correctedPOSIXLocale, p, q-p);
correctedPOSIXLocale[len] = 0;
}