Fix compilerwarning in logging size_t
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 5 Apr 2022 20:16:45 +0000 (22:16 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 5 Apr 2022 20:16:45 +0000 (22:16 +0200)
commit75edb919613ee835e7680e40137e494c7856bcf9
tree09dead3651834affbd0690019fe158adca1506e6
parentfadb48b00e02ccfd152baa80942de30205ab3c4f
Fix compilerwarning in logging size_t

The pg_fatal log which included filesizes were using UINT64_FORMAT for
the size_t variables, which failed on 32 bit buildfarm animals. Change
to using plain int instead, which is in line with how digestControlFile
is doing it already.

Per buildfarm animals florican and lapwing.

Discussion: https://postgr.es/m/13C2BF64-4A6D-47E4-9181-3A658F00C9B7@yesql.se
src/bin/pg_rewind/local_source.c