Skip to content

Commit 73c0f32

Browse files
samding01spevans
authored andcommitted
Fix a bug in format localized number on s390x and ARM
(cherry picked from commit f9f75d2)
1 parent cd14fe0 commit 73c0f32

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
@@ -6009,7 +6009,7 @@ static Boolean __CFStringFormatLocalizedNumber(CFMutableStringRef output, CFLoca
60096009
static SInt32 secondaryGroupingSize = 0;
60106010

60116011
// !!! This code should be removed before shipping
6012-
static char disableLocalizedFormatting = -1;
6012+
static int disableLocalizedFormatting = -1;
60136013
if (disableLocalizedFormatting == -1) disableLocalizedFormatting = (getenv("CFStringDisableLocalizedNumberFormatting") != NULL) ? 1 : 0;
60146014
if (disableLocalizedFormatting) return false;
60156015

0 commit comments

Comments
 (0)