ICU-865 sscanf into an int, not a short.
X-SVN-Rev: 3839
This commit is contained in:
parent
91cdfc9c70
commit
f342c78636
@ -372,8 +372,8 @@ UCAElements *readAnElement(FILE *data, UErrorCode *status) {
|
||||
i = 1;
|
||||
detectedContraction = TRUE;
|
||||
while(spacePointer != NULL) {
|
||||
sscanf(spacePointer+1, "%04X", (element->cPoints+i));
|
||||
i++;
|
||||
sscanf(spacePointer+1, "%04X", &theValue);
|
||||
element->cPoints[i++] = (UChar)theValue;
|
||||
spacePointer = strchr(spacePointer+1, ' ');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user