Commit 8bd064f0 authored by Michael Paquier's avatar Michael Paquier

Fix casting in error message for two-phase file

This error from from 811b6e36, which causes compilation warnings with OSX
10.3 and clang.

Reported by Tom Lane, via buildfarm member longfin.
parent 811b6e36
......@@ -1295,7 +1295,7 @@ ReadTwoPhaseFile(TransactionId xid, bool give_warnings)
else
ereport(WARNING,
(errmsg("could not read file \"%s\": read %d of %zu",
path, r, stat.st_size)));
path, r, (Size) stat.st_size)));
}
pfree(buf);
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment