]> Nishi Git Mirror - libw3.git/commitdiff
fix
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sun, 7 Apr 2024 14:08:58 +0000 (14:08 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sun, 7 Apr 2024 14:08:58 +0000 (14:08 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@291 d27a3e52-49c5-7645-884c-6793ebffc270

Library/Util.c
W3Version.h.m4

index 13fcb37a03abb3018607f15c59288839f0bdaed0..dc8d30a0405e4f7f06265c7f57b85010836afae5 100644 (file)
@@ -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;
index 30f5f85cb813f4c045521a554beca146bd14a76f..dc0e6c7ffa69be6ebbfbc6229b3d3de9653085bc 100644 (file)
@@ -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}}, {{/**