[Groonga-commit] groonga/groonga at 24cfc6e [master] windows: use %p for HANDLE

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Aug 11 07:06:55 JST 2018


Kouhei Sutou	2018-08-11 07:06:55 +0900 (Sat, 11 Aug 2018)

  New Revision: 24cfc6e32f2b753ec0e273f17ba0f2e8807320a5
  https://github.com/groonga/groonga/commit/24cfc6e32f2b753ec0e273f17ba0f2e8807320a5

  Message:
    windows: use %p for HANDLE

  Modified files:
    lib/logger.c

  Modified: lib/logger.c (+1 -1)
===================================================================
--- lib/logger.c    2018-08-09 18:17:47 +0900 (04b56f47f)
+++ lib/logger.c    2018-08-11 07:06:55 +0900 (888af5053)
@@ -450,7 +450,7 @@ grn_logger_putv(grn_ctx *ctx,
                      "%s%08x", prefix, (uint32_t)pthread_self());
 #elif defined(WIN32) /* HAVE_PTHREAD_H */
         grn_snprintf(lbuf_current, lbuf_rest_size, lbuf_rest_size,
-                     "%s%08x", prefix, GetCurrentThread());
+                     "%s%p", prefix, GetCurrentThread());
 #endif /* HAVE_PTHREAD_H */
         lbuf_size = strlen(lbuf_current);
         lbuf_current += lbuf_size;
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180811/89598168/attachment.htm 



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