[Groonga-commit] groonga/groonga at bfcbba1 [master] windows: remove a needless cast

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Aug 8 18:10:23 JST 2018


Kouhei Sutou	2018-08-08 18:10:23 +0900 (Wed, 08 Aug 2018)

  New Revision: bfcbba1d82a0a50b29d64201cf2448f5624f9b3e
  https://github.com/groonga/groonga/commit/bfcbba1d82a0a50b29d64201cf2448f5624f9b3e

  Message:
    windows: remove a needless cast

  Modified files:
    lib/logger.c

  Modified: lib/logger.c (+1 -1)
===================================================================
--- lib/logger.c    2018-08-08 17:51:22 +0900 (07d5a7c32)
+++ lib/logger.c    2018-08-08 18:10:23 +0900 (04b56f47f)
@@ -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, (uint32_t)GetCurrentThread());
+                     "%s%08x", 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/20180808/1543be24/attachment-0001.htm 



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