client: use PRId macros instead of PRIi
This shouldn't really matter for printf, but mingw complains about %lli.
In any case, using %i is semi-bogus for printf since it only has a
significant meaning for the scanf function family. Let's just use %d.
@@ -205,7 +205,7 @@ static void process_client_message_impl(struct server_ctx *sctx, struct client_c
struct client_ctx *process_client_message(struct server_ctx *ctx, const criterion_protocol_msg *msg)
{
if (msg->version != PROTOCOL_V1) {
- handler_error(ctx, "%s", "", "Received message using invalid protocol version number '%" PRIi32 "'.", msg->version);
+ handler_error(ctx, "%s", "", "Received message using invalid protocol version number '%" PRId32 "'.", msg->version);
return NULL;
}
@@ -216,7 +216,7 @@ struct client_ctx *process_client_message(struct server_ctx *ctx, const criterio
if (k != kh_end(ctx->subprocesses))
client = &kh_value(ctx->subprocesses, k);
else
- handler_error(ctx, "%s", "", "Received message identified by a PID '%" PRIi64 "' "
+ handler_error(ctx, "%s", "", "Received message identified by a PID '%" PRId64 "' "
"that is not a child process.", msg->id.pid);
} break;
case criterion_protocol_msg_uid_tag: {
