list.c Use "long" instead of "int" for command parameters.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 29 Apr 2013 11:40:06 +0000 (13:40 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 29 Apr 2013 11:40:06 +0000 (13:40 +0200)
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.

src/language/data-io/list.c

index 4a9424d2f90d6488fc3e9ce6dadb4f5e973611d9..e03bd08c126c903b5092a7c8aa1009d674613b3a 100644 (file)
@@ -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;