Fix incorrect format placeholder
authorPeter Eisentraut
Tue, 3 Oct 2023 06:30:20 +0000 (08:30 +0200)
committerPeter Eisentraut
Tue, 3 Oct 2023 06:30:20 +0000 (08:30 +0200)
src/test/modules/libpq_pipeline/libpq_pipeline.c

index 9907bc860048a5c6370b213c271e77570933d6ba..ada16f1db5a54d460dd9a5e023d2f0ceae929374 100644 (file)
@@ -929,7 +929,7 @@ test_prepared(PGconn *conn)
    if (PQresultStatus(res) != PGRES_COMMAND_OK)
        pg_fatal("expected COMMAND_OK, got %s", PQresStatus(PQresultStatus(res)));
    if (PQnfields(res) != lengthof(expected_oids))
-       pg_fatal("expected %zd columns, got %d",
+       pg_fatal("expected %zu columns, got %d",
                 lengthof(expected_oids), PQnfields(res));
    for (int i = 0; i < PQnfields(res); i++)
    {