diff src/dmengine.c @ 2384:36edd316184a

Fix some format strings to use proper PRI*_SIZE_T where necessary.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 Jan 2020 15:20:23 +0200
parents 5e5f75b45f8d
children 69a5af2eb1ea
line wrap: on
line diff
--- a/src/dmengine.c	Thu Jan 09 14:55:41 2020 +0200
+++ b/src/dmengine.c	Thu Jan 09 15:20:23 2020 +0200
@@ -208,7 +208,7 @@
 {
     OggVorbis_File vf;
 
-    dmMsg(2, "vorbisfile '%s', %d bytes resource loading\n",
+    dmMsg(2, "vorbisfile '%s', %" DM_PRIu_SIZE_T " bytes resource loading\n",
         res->filename, res->rawSize);
 
     if (ov_open_callbacks(res, &vf, NULL, 0, vorbisFileCBS) < 0)
@@ -221,7 +221,7 @@
         return DMERR_MALLOC;
     }
 
-    dmMsg(2, "rdataSize=%d bytes?\n", res->resSize);
+    dmMsg(2, "rdataSize=%" DM_PRIu_SIZE_T " bytes?\n", res->resSize);
 
     BOOL eof = FALSE;
     int left = res->resSize;