# HG changeset patch # User Matti Hamalainen # Date 1578570644 -7200 # Node ID 6454bfb584d6de9599f0acdd152676a393927480 # Parent 8aa8545465569b677ac9b75b8f08b6829b971b9a Fix some format strings to use proper PRIu_SIZE_T where necessary. diff -r 8aa854546556 -r 6454bfb584d6 sidlib.c --- a/sidlib.c Thu Jan 09 10:54:57 2020 +0200 +++ b/sidlib.c Thu Jan 09 13:50:44 2020 +0200 @@ -356,7 +356,7 @@ if (line[pos] != '=') { ret = th_io_error(ctx, THERR_INVALID_DATA, - "'=' expected on column %d.", + "'=' expected on column #%" PRIu_SIZE_T ".", pos); goto exit; } @@ -473,7 +473,7 @@ if (line[pos] != ';' && line[pos] != '[' && line[pos] != 0) { ret = th_io_error(ctx, THERR_INVALID_DATA, - "Invalid line / unexpected data at column #%d.", + "Invalid line / unexpected data at column #%" PRIu_SIZE_T ".", pos); goto exit; }