]> granicus.if.org Git - postgresql/commit
Fix some assorted compiler warnings on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 May 2018 23:38:26 +0000 (19:38 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 May 2018 23:38:26 +0000 (19:38 -0400)
commitb2328bf62b6465236e318d31a011ced5dccfd580
treedd9ab6c54d94109257cb8310bc802c69c6c1ce13
parent41c912cad15955b5f9270ef3688a44e91d410d3d
Fix some assorted compiler warnings on Windows.

Don't overflow the result type of constant expressions.  Don't negate
unsigned types.  Define HAVE_STDBOOL_H for Visual C++ 2013 and later.

Thomas Munro
Reviewed-By: Michael Paquier and Tom Lane
Discussion: https://postgr.es/m/CAEepm%3D3%3DTDYEXUEcHpEx%2BTwc31wo7PA0oBAiNt6sWmq93MW02A%40mail.gmail.com
src/backend/replication/basebackup.c
src/bin/pgbench/pgbench.c
src/include/pg_config.h.win32