posix-xprintf-functions.patch from patch #6230.
[pspp-builds.git] / src / language / tests / float-format.c
index 9e6f777cfc5eb75bf965a25338b6e24c828c0dc2..fed19479d2fe8043ee1a060e88b49b2fc4221c3e 100644 (file)
@@ -121,8 +121,9 @@ parse_fp (struct lexer *lexer, struct fp *fp)
         {
           if (length != float_get_size (fp->format))
             {
-              msg (SE, _("%d-byte string needed but %d-byte string supplied."),
-                   (int) float_get_size (fp->format), (int) length);
+              msg (SE, _("%zu-byte string needed but %zu-byte string "
+                         "supplied."),
+                   float_get_size (fp->format), length);
               return false;
             }
           assert (length <= sizeof fp->data);