mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
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
This commit is contained in:
@ -1361,7 +1361,7 @@ sendFile(const char *readfilename, const char *tarfilename, struct stat *statbuf
|
||||
char buf[TAR_SEND_SIZE];
|
||||
uint16 checksum;
|
||||
int checksum_failures = 0;
|
||||
size_t cnt;
|
||||
off_t cnt;
|
||||
int i;
|
||||
pgoff_t len = 0;
|
||||
char *page;
|
||||
|
Reference in New Issue
Block a user