]> PatchyGit - patchyircd.git/commitdiff
Format string for 64bit is actually llu not lu
authorSam Smith <sam@patchysicp.xyz>
Mon, 2 May 2022 14:36:29 +0000 (07:36 -0700)
committerSam Smith <sam@patchysicp.xyz>
Mon, 2 May 2022 14:36:29 +0000 (07:36 -0700)
NetSock/netsock.h

index f8353f8..8d56d74 100644 (file)
@@ -22,7 +22,8 @@
 #include <ws2tcpip.h>
 #include <windows.h>
 #ifdef _WIN64
-#define PRISocket "lu" // The format string for SOCKET
+//#define PRISocket "lu" // The format string for SOCKET
+#define PRISocket "llu" // The format string for SOCKET
 #else
 #define PRISocket "u" // The format string for SOCKET
 #endif