added automake.mk files in src/language
[pspp] / src / formats.c
index 6b5f8d219e119f8f57c4d61a1ad1b9d8e799be2d..32d638ae4a44f3fd0bed1ad7dd6484c77a4c52ea 100644 (file)
@@ -28,6 +28,9 @@
 #include "str.h"
 #include "var.h"
 
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
 #include "debug-print.h"
 
 enum
@@ -61,7 +64,7 @@ internal_cmd_formats (int which)
 {
   /* Variables. */
   struct variable **v;
-  int cv;
+  size_t cv;
 
   /* Format to set the variables to. */
   struct fmt_spec f;
@@ -70,7 +73,7 @@ internal_cmd_formats (int which)
   int type;
 
   /* Counter. */
-  int i;
+  size_t i;
 
   for (;;)
     {