[Groonga-commit] groonga/groonga at 86c0196 [master] windows: fix format for DWORD on 32-bit

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Jan 28 19:54:40 JST 2019


Kouhei Sutou	2019-01-28 19:54:40 +0900 (Mon, 28 Jan 2019)

  Revision: 86c019631732f550fc1e8f47d7fbdce93362f54e
  https://github.com/groonga/groonga/commit/86c019631732f550fc1e8f47d7fbdce93362f54e

  Message:
    windows: fix format for DWORD on 32-bit

  Modified files:
    lib/grn.h

  Modified: lib/grn.h (+1 -1)
===================================================================
--- lib/grn.h    2019-01-28 19:48:07 +0900 (1c6fd0b1c)
+++ lib/grn.h    2019-01-28 19:54:40 +0900 (770cb6e29)
@@ -390,7 +390,7 @@ typedef int grn_cond;
 #  define GRN_FMT_DWORD  "lu"
 # else /* WIN64 */
 #  define GRN_FMT_SOCKET GRN_FMT_INT32U
-#  define GRN_FMT_DWORD  "u"
+#  define GRN_FMT_DWORD  "lu"
 # endif /* WIN64 */
 # define GRN_FMT_OFF64_T GRN_FMT_LLD
 #else /* WIN32 */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190128/09bc9184/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index