From: John Darrington Date: Mon, 29 Apr 2013 11:40:06 +0000 (+0200) Subject: list.c Use "long" instead of "int" for command parameters. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54a2df235d08f661a3122f5b40361258d35014c8;p=pspp list.c Use "long" instead of "int" for command parameters. Commit 4e5a6cc044c6c82e6c4d842bf056579b6bc47d48 used int instead of long for the parameters of the LIST command. This caused compiler warnings and problems on 64 bit machines. This change fixes that. --- diff --git a/src/language/data-io/list.c b/src/language/data-io/list.c index 4a9424d2f9..e03bd08c12 100644 --- a/src/language/data-io/list.c +++ b/src/language/data-io/list.c @@ -56,9 +56,9 @@ enum numbering struct lst_cmd { - int first; - int last; - int step; + long first; + long last; + long step; const struct variable **v_variables; size_t n_variables; enum numbering numbering;