windows-fs-utils-20080207

LICENSE MIT

Use ismeta() correctly when parsing integer strings.
This commit is contained in:
Jeffrey Altman 2008-02-07 21:40:08 +00:00
parent bb2dc54732
commit 1c0c38b918

View File

@ -175,7 +175,7 @@ afs_int32 util_GetInt32 (char *as, afs_int32 *aval)
/* compute the # itself */
while(tc = *as) {
if (!ismeta(tc, base)) return -1;
if (!ismeta(base, tc)) return -1;
total *= base;
total += getmeta(tc);
as++;