X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-scanf.c;h=88128a3090a717f959502fcb1623ced90d39f974;hb=53241f59ac766997bf67870639f70afb82396640;hp=986f48c79fad2e3392279e40be8bf1e309a2ae62;hpb=ff72dea565ea406e17beccc051d50e40e9294b08;p=pspp diff --git a/src/ui/gui/psppire-scanf.c b/src/ui/gui/psppire-scanf.c index 986f48c79f..88128a3090 100644 --- a/src/ui/gui/psppire-scanf.c +++ b/src/ui/gui/psppire-scanf.c @@ -107,11 +107,11 @@ guts (PsppireScanf *scanf) int width = 0; if (dir.precision_start && dir.precision_end) - precision = strtol (dir.precision_start + 1, + precision = g_ascii_strtoll (dir.precision_start + 1, (char **) &dir.precision_end, 10); if (dir.width_start && dir.width_end) - width = strtol (dir.width_start, (char **) &dir.width_end, 10); + width = g_ascii_strtoll (dir.width_start, (char **) &dir.width_end, 10); if (dir.dir_start > s) ship_label (scanf, &s, &scanf->d, i);