changeset 166:28fd04f43a95

Use TH_PRIu_SIZE_T for size_t printing.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 18 Feb 2015 13:28:29 +0200
parents dbf763cb2d52
children 7638fa9d191f
files th_ioctx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_ioctx.c	Wed Feb 18 13:28:18 2015 +0200
+++ b/th_ioctx.c	Wed Feb 18 13:28:29 2015 +0200
@@ -70,7 +70,7 @@
     if (ctx->error != NULL)
         ctx->error(ctx, err, msg);
     else
-        THERR("'%s' #%d: %s\n", ctx->filename, (unsigned int) ctx->line, msg);
+        THERR("'%s' #%" TH_PRIu_SIZE_T ": %s\n", ctx->filename, ctx->line, msg);
 
     th_free(msg);
 }