Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9bc04b

Browse files
committed
Fix incorrect format placeholders
The fields of NLSVERSIONINFOEX are of type DWORD, which is unsignedlong, so the results of the computations being printed are also oftype unsigned long.
1 parent069ef25 commita9bc04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/adt/pg_locale.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ get_collation_actual_version(char collprovider, const char *collcollate)
17781778
collcollate,
17791779
GetLastError())));
17801780
}
1781-
collversion=psprintf("%ld.%ld,%ld.%ld",
1781+
collversion=psprintf("%lu.%lu,%lu.%lu",
17821782
(version.dwNLSVersion >>8)&0xFFFF,
17831783
version.dwNLSVersion&0xFF,
17841784
(version.dwDefinedVersion >>8)&0xFFFF,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp