pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/sysfile-info.c


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/sysfile-info.c
Date: Sun, 23 Oct 2005 22:52:22 -0400

Index: pspp/src/sysfile-info.c
diff -u pspp/src/sysfile-info.c:1.16 pspp/src/sysfile-info.c:1.17
--- pspp/src/sysfile-info.c:1.16        Sun Aug  7 04:39:28 2005
+++ pspp/src/sysfile-info.c     Mon Oct 24 02:51:31 2005
@@ -171,7 +171,7 @@
 
 static void display_macros (void);
 static void display_documents (void);
-static void display_variables (struct variable **, int, int);
+static void display_variables (struct variable **, size_t, int);
 static void display_vectors (int sorted);
 
 int
@@ -181,7 +181,7 @@
   int sorted;
 
   /* Variables to display. */
-  int n;
+  size_t n;
   struct variable **vl;
 
   if (lex_match_id ("MACROS"))
@@ -247,7 +247,7 @@
 
       if (as == AS_SCRATCH)
        {
-         int i, m;
+         size_t i, m;
          for (i = 0, m = n; i < n; i++)
            if (dict_class_from_id (vl[i]->name) != DC_SCRATCH)
              {
@@ -341,7 +341,7 @@
 }
   
 static void
-display_variables (struct variable **vl, int n, int as)
+display_variables (struct variable **vl, size_t n, int as)
 {
   struct variable **vp = vl;           /* Variable pointer. */
   struct tab_table *t;
@@ -349,7 +349,7 @@
   int nr;                      /* Number of rows. */
   int pc;                      /* `Position column' */
   int r;                       /* Current row. */
-  int i;
+  size_t i;
 
   _as = as;
   switch (as)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]