diff cfgparser.c @ 7472:c4434bdf6e51

tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
author arpi
date Sun, 22 Sep 2002 02:33:28 +0000
parents 22beff6edf75
children f0888351bd46
line wrap: on
line diff
--- a/cfgparser.c	Sun Sep 22 00:43:14 2002 +0000
+++ b/cfgparser.c	Sun Sep 22 02:33:28 2002 +0000
@@ -744,7 +744,7 @@
 				goto err_missing_param;
 
 			if (sscanf(param, sizeof(off_t) == sizeof(int) ?
-			"%d%c" : "%lld%c", &tmp_off, dummy) != 1) {
+			"%d%c" : "%lld%c", &tmp_off, &dummy) != 1) {
 				mp_msg(MSGT_CFGPARSER, MSGL_ERR, "parameter must be an integer: %s\n", param);
 				ret = ERR_OUT_OF_RANGE;
 				goto out;