Fix use of size_t in printf formats. Patch #5727.
[pspp-builds.git] / src / language / dictionary / rename-variables.c
index 0dff0b02e32eb7058a614b0eacf21b9841a0cbc2..06f3527c82b72edd069ca307055a4dd87c0bf831 100644 (file)
@@ -1,6 +1,5 @@
 /* PSPP - computes sample statistics.
    Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
-   Written by Ben Pfaff <blp@gnu.org>.
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -76,9 +75,9 @@ cmd_rename_variables (struct lexer *lexer, struct dataset *ds)
           size_t i;
 
          msg (SE, _("Differing number of variables in old name list "
-                     "(%u) and in new name list (%u)."),
-              (unsigned) rename_cnt - prev_nv_2,
-               (unsigned) prev_nv_1 - prev_nv_2);
+                     "(%d) and in new name list (%d)."),
+              (int) (rename_cnt - prev_nv_2),
+               (int) (prev_nv_1 - prev_nv_2));
          for (i = 0; i < prev_nv_1; i++)
            free (rename_new_names[i]);
          free (rename_new_names);