# HG changeset patch # User Matti Hamalainen # Date 1424258909 -7200 # Node ID 28fd04f43a955e7377b326f51f2aea26f4c873fd # Parent dbf763cb2d522ea8673878db730b1d4e92369010 Use TH_PRIu_SIZE_T for size_t printing. diff -r dbf763cb2d52 -r 28fd04f43a95 th_ioctx.c --- 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); }