mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Add some casts to try to silence most of the remaining format warnings on MinGW-W64.
This commit is contained in:
@ -634,7 +634,7 @@ syslogger_forkexec(void)
|
||||
#else /* WIN32 */
|
||||
if (syslogFile != NULL)
|
||||
snprintf(filenobuf, sizeof(filenobuf), "%ld",
|
||||
_get_osfhandle(_fileno(syslogFile)));
|
||||
(long) _get_osfhandle(_fileno(syslogFile)));
|
||||
else
|
||||
strcpy(filenobuf, "0");
|
||||
#endif /* WIN32 */
|
||||
|
Reference in New Issue
Block a user