ICU-865 sscanf into an int, not a short.

X-SVN-Rev: 3839
This commit is contained in:
George Rhoten 2001-02-28 21:17:28 +00:00
parent 91cdfc9c70
commit f342c78636

View File

@ -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, ' ');
}