Fix unix warning about sscanf

git-svn-id: svn://10.0.0.236/trunk@28564 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcmullen%netscape.com
1999-04-21 22:55:37 +00:00
parent 7b9dcc2a7d
commit 88d3f082ac
2 changed files with 2 additions and 2 deletions

View File

@@ -1527,7 +1527,7 @@ PREF_GetDefaultRectPref(const char *pref_name, int16 *left, int16 *top, int16 *r
PrefResult result = PREF_GetDefaultCharPref(pref_name, (char *)&rectstr, &iLen);
if (result == PREF_NOERROR) {
sscanf(rectstr, "%d,%d,%d,%d", left, top, right, bottom);
sscanf(rectstr, "%hd,%hd,%hd,%hd", left, top, right, bottom);
}
return result;
}

View File

@@ -1527,7 +1527,7 @@ PREF_GetDefaultRectPref(const char *pref_name, int16 *left, int16 *top, int16 *r
PrefResult result = PREF_GetDefaultCharPref(pref_name, (char *)&rectstr, &iLen);
if (result == PREF_NOERROR) {
sscanf(rectstr, "%d,%d,%d,%d", left, top, right, bottom);
sscanf(rectstr, "%hd,%hd,%hd,%hd", left, top, right, bottom);
}
return result;
}