Mercurial > hg > dmlib
diff tools/mod2wav.c @ 2389:647671a9a0b8
More printf() format specifier size_t -related fixes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 09 Jan 2020 20:14:58 +0200 |
parents | c146033f1f6a |
children | b7cd5dd0b82e |
line wrap: on
line diff
--- a/tools/mod2wav.c Thu Jan 09 20:11:41 2020 +0200 +++ b/tools/mod2wav.c Thu Jan 09 20:14:58 2020 +0200 @@ -305,7 +305,7 @@ return 5; } - dmMsg(1, "Using fmt=%d, bits=%d, channels=%d, freq=%d [%d / sample]\n", + dmMsg(1, "Using fmt=%d, bits=%d, channels=%d, freq=%d [%" DM_PRIu_SIZE_T " / sample]\n", optOutFormat, jvmGetSampleRes(dev), optOutChannels, optOutFreq, sampSize); @@ -352,7 +352,7 @@ // Render audio data and output to file if (optUsePlayTime) - dmMsg(1, "Rendering module (%d seconds) ...\n", optPlayTime); + dmMsg(1, "Rendering module (%" DM_PRIu_SIZE_T " seconds) ...\n", optPlayTime); else dmMsg(1, "Rendering module ...\n");