comparison th_ioctx.c @ 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 b392293047da
comparison
equal deleted inserted replaced
165:dbf763cb2d52 166:28fd04f43a95
68 va_end(ap); 68 va_end(ap);
69 69
70 if (ctx->error != NULL) 70 if (ctx->error != NULL)
71 ctx->error(ctx, err, msg); 71 ctx->error(ctx, err, msg);
72 else 72 else
73 THERR("'%s' #%d: %s\n", ctx->filename, (unsigned int) ctx->line, msg); 73 THERR("'%s' #%" TH_PRIu_SIZE_T ": %s\n", ctx->filename, ctx->line, msg);
74 74
75 th_free(msg); 75 th_free(msg);
76 } 76 }
77 77
78 78