From 5fbd8d7f01a3867e3dbd4effcd8f9190faf72a0f Mon Sep 17 00:00:00 2001 From: nishi Date: Sun, 7 Apr 2024 14:08:58 +0000 Subject: [PATCH] fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@291 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/Util.c | 2 +- W3Version.h.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Util.c b/Library/Util.c index 13fcb37..dc8d30a 100644 --- a/Library/Util.c +++ b/Library/Util.c @@ -155,7 +155,7 @@ char* __W3_Get_Platform(void) { info.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA); GetVersionEx(&info); char* result = malloc(33); - sprintf(result, "Windows %lu.%lu.%lu", info.dwMajorVersion, info.dwMinorVersion, info.dwBuildNumber); + sprintf(result, "Windows %u.%u.%u", info.dwMajorVersion, info.dwMinorVersion, info.dwBuildNumber); return result; #else struct utsname un; diff --git a/W3Version.h.m4 b/W3Version.h.m4 index 30f5f85..dc0e6c7 100644 --- a/W3Version.h.m4 +++ b/W3Version.h.m4 @@ -60,7 +60,7 @@ const char* W3_Get_Version(void); * @note W3_Get_Version を使用することを検討してください。 * */ -#define LIBW3_VERSION "2.22D" \ +#define LIBW3_VERSION "2.22E" \ SUFFIX ifdef({{HTTP_SUPPORT}}, {{/** -- 2.43.0