Fix casting in error message for two-phase file
This error from from 811b6e3
, which causes compilation warnings with OSX
10.3 and clang.
Reported by Tom Lane, via buildfarm member longfin.
This commit is contained in:
parent
811b6e36a9
commit
8bd064f0c7
|
@ -1295,7 +1295,7 @@ ReadTwoPhaseFile(TransactionId xid, bool give_warnings)
|
||||||
else
|
else
|
||||||
ereport(WARNING,
|
ereport(WARNING,
|
||||||
(errmsg("could not read file \"%s\": read %d of %zu",
|
(errmsg("could not read file \"%s\": read %d of %zu",
|
||||||
path, r, stat.st_size)));
|
path, r, (Size) stat.st_size)));
|
||||||
}
|
}
|
||||||
pfree(buf);
|
pfree(buf);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue