From: nishi Date: Sun, 7 Apr 2024 14:08:58 +0000 (+0000) Subject: fix X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5fbd8d7f01a3867e3dbd4effcd8f9190faf72a0f;p=libw3.git fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@291 d27a3e52-49c5-7645-884c-6793ebffc270 --- 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}}, {{/**