Use %zu, not %d, to format a size_t.
[pspp-builds.git] / src / language / data-io / file-handle.q
index 7e7cdcdf9b839969b883aa43d5db54c2c20d5ffc..786955bc3e5265eafd55975b25c315581bb1a416 100644 (file)
@@ -136,7 +136,7 @@ cmd_file_handle (struct lexer *lexer, struct dataset *ds)
                  properties.record_width);
           else if (cmd.n_lrecl[0] < 1 || cmd.n_lrecl[0] >= (1UL << 31))
             msg (SE, _("Record length (%ld) must be between 1 and %lu bytes.  "
-                       "Assuming %d-character records."),
+                       "Assuming %zu-character records."),
                  cmd.n_lrecl[0], (1UL << 31) - 1, properties.record_width);
           else
             properties.record_width = cmd.n_lrecl[0];