Skip to content

Commit d811800

Browse files
authored
Merge pull request #1972 from spevans/pr_localised_number_s390_arm_42
[4.2] Fix a bug in format localized number on s390x and ARM
2 parents f41bd30 + 73c0f32 commit d811800

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)