← Commit list

86f5bd3c6e

Viktor Szakats
Viktor Szakats
2025-12-09
SUCCESS Duration: 206s

Subject

curl_setup.h: fix `FMT_SOCKET_T` to be unsigned on Windows

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/curl_setup.h+6 -2
@@ -519,9 +519,13 @@
#endif
#if SIZEOF_CURL_SOCKET_T < 8
+#ifdef _WIN32
+# define FMT_SOCKET_T "u"
+#else
# define FMT_SOCKET_T "d"
-#elif defined(__MINGW32__)
-# define FMT_SOCKET_T "zd"
+#endif
+#elif defined(_WIN32)
+# define FMT_SOCKET_T "zu"
#else
# define FMT_SOCKET_T "qd"
#endif