Skip to content

Commit f9f75d2

Browse files
committed
Fix a bug in format localized number on s390x
1 parent d1510fd commit f9f75d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/String.subproj/CFString.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6028,7 +6028,7 @@ static Boolean __CFStringFormatLocalizedNumber(CFMutableStringRef output, CFLoca
60286028
static SInt32 secondaryGroupingSize = 0;
60296029

60306030
// !!! This code should be removed before shipping
6031-
static char disableLocalizedFormatting = -1;
6031+
static int disableLocalizedFormatting = -1;
60326032
if (disableLocalizedFormatting == -1) disableLocalizedFormatting = (getenv("CFStringDisableLocalizedNumberFormatting") != NULL) ? 1 : 0;
60336033
if (disableLocalizedFormatting) return false;
60346034

0 commit comments

Comments
 (0)