Mercurial > hg > dmlib
diff tools/libgfx.c @ 2393:85700c9b7dc8
Add new DM_PRI*_OFF_T specifiers for off_t type.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 09 Jan 2020 20:54:57 +0200 |
parents | 36edd316184a |
children | 69a5af2eb1ea |
line wrap: on
line diff
--- a/tools/libgfx.c Thu Jan 09 20:54:39 2020 +0200 +++ b/tools/libgfx.c Thu Jan 09 20:54:57 2020 +0200 @@ -2102,17 +2102,17 @@ if (size & 1) { - dmMsg(3, "IFF: Chunk size %" DM_PRIu_SIZE_T - " is uneven, adjusting to %" DM_PRIu_SIZE_T ".\n", + dmMsg(3, "IFF: Chunk size %" DM_PRId_OFF_T + " is uneven, adjusting to %" DM_PRId_OFF_T ".\n", size, size + 1); size++; } if (size > read) { - dmMsg(3, "IFF: Skipping %" DM_PRIu_SIZE_T - " bytes (%" DM_PRIu_SIZE_T - " of %" DM_PRIu_SIZE_T " consumed)\n", + dmMsg(3, "IFF: Skipping %" DM_PRId_OFF_T + " bytes (%" DM_PRId_OFF_T + " of %" DM_PRId_OFF_T " consumed)\n", size - read, read, size); if (dmfseek(fp, size - read, SEEK_CUR) != 0)