posix-xprintf-functions.patch from patch #6230.
[pspp-builds.git] / src / data / por-file-reader.c
index 4636d5fb806cf82b81124f0515c96a9f89feb965..37ae23351a03fb332a4009381c6847cd30de2e40 100644 (file)
@@ -515,9 +515,9 @@ read_version_data (struct pfm_reader *r, struct pfm_read_info *info)
 
   /* Validate file. */
   if (strlen (date) != 8)
-    error (r, _("Bad date string length %d."), (int) strlen (date));
+    error (r, _("Bad date string length %zu."), strlen (date));
   if (strlen (time) != 6)
-    error (r, _("Bad time string length %d."), (int) strlen (time));
+    error (r, _("Bad time string length %zu."), strlen (time));
 
   /* Save file info. */
   if (info != NULL)