mirror of https://github.com/postgres/postgres
Fix incorrect format placeholders
The fields of NLSVERSIONINFOEX are of type DWORD, which is unsigned long, so the results of the computations being printed are also of type unsigned long.
This commit is contained in:
parent
069ef254f1
commit
a9bc04b211
|
@ -1778,7 +1778,7 @@ get_collation_actual_version(char collprovider, const char *collcollate)
|
|||
collcollate,
|
||||
GetLastError())));
|
||||
}
|
||||
collversion = psprintf("%ld.%ld,%ld.%ld",
|
||||
collversion = psprintf("%lu.%lu,%lu.%lu",
|
||||
(version.dwNLSVersion >> 8) & 0xFFFF,
|
||||
version.dwNLSVersion & 0xFF,
|
||||
(version.dwDefinedVersion >> 8) & 0xFFFF,
|
||||
|
|
Loading…
Reference in New Issue