changeset 292:6454bfb584d6

Fix some format strings to use proper PRIu_SIZE_T where necessary.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 Jan 2020 13:50:44 +0200
parents 8aa854546556
children c3ebab7f9094
files sidlib.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }