Fix compilation warning of pg_basebackup with MinGW

Michael Paquier <michael@paquier.xyz>

Commit: 90317ab7e64bd2d855c73a6ba579de6d04a7b25c
Author: Michael Paquier <michael@paquier.xyz>
Date: 2019-07-21T13:27:11Z
Releases: 13.0
Fix compilation warning of pg_basebackup with MinGW

Several buildfarm members have been complaining about that with gcc,
like jacana.  Weirdly enough, Visual Studio's compilers do not find this
issue.

Author: Michael Paquier
Reviewed-by: Andrew Dunstan
Discussion: https://postgr.es/m/20190719050830.GK1859@paquier.xyz

Files

PathChange+/−
src/bin/pg_basebackup/pg_basebackup.c modified +4 −0

Discussion