Fix use of size_t in printf formats. Patch #5727.
[pspp-builds.git] / src / language / data-io / print.c
index 91a3f27bfd5ca76b98a34b9f1eabca16056b2adb..bdc9ff61500656d77c4eb74d0ca8560941d8ba66 100644 (file)
@@ -257,9 +257,9 @@ parse_specs (struct lexer *lexer, struct pool *tmp_pool, struct print_trns *trns
     }
 
   if (trns->record_cnt != 0 && trns->record_cnt != record)
-    msg (SW, _("Output calls for %d records but %d specified on RECORDS "
+    msg (SW, _("Output calls for %d records but %u specified on RECORDS "
                "subcommand."),
-         record, trns->record_cnt);
+         record, (unsigned int) trns->record_cnt);
   trns->record_cnt = record;
 
   return true;