test/test_physfs.c
changeset 182 a47c39af46ad
parent 170 d826bf2c38c8
child 191 0b95b9fd25e3
--- a/test/test_physfs.c	Fri Apr 05 18:16:12 2002 +0000
+++ b/test/test_physfs.c	Fri Apr 05 18:20:51 2002 +0000
@@ -508,8 +508,8 @@
         PHYSFS_sint64 rc = PHYSFS_write(f, WRITESTR, 1, bw);
         if (rc != bw)
         {
-            printf("Wrote (%d) of (%d) bytes. Reason: [%s].\n", rc, bw,
-                   PHYSFS_getLastError());
+            printf("Wrote (%d) of (%d) bytes. Reason: [%s].\n",
+                   (int) rc, (int) bw, PHYSFS_getLastError());
         } /* if */
         else
         {
@@ -542,8 +542,8 @@
         PHYSFS_sint64 rc = PHYSFS_write(f, WRITESTR, 1, bw);
         if (rc != bw)
         {
-            printf("Wrote (%d) of (%d) bytes. Reason: [%s].\n", rc, bw,
-                   PHYSFS_getLastError());
+            printf("Wrote (%d) of (%d) bytes. Reason: [%s].\n",
+                   (int) rc, (int) bw, PHYSFS_getLastError());
         } /* if */
         else
         {