[Groonga-commit] groonga/groonga at 1c91a73 [master] Remove needless cast

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jun 26 13:18:22 JST 2015


Kouhei Sutou	2015-06-26 13:18:22 +0900 (Fri, 26 Jun 2015)

  New Revision: 1c91a730aab167f093abb0aea4cd0d2ef77559ae
  https://github.com/groonga/groonga/commit/1c91a730aab167f093abb0aea4cd0d2ef77559ae

  Message:
    Remove needless cast

  Modified files:
    lib/ctx.c

  Modified: lib/ctx.c (+2 -3)
===================================================================
--- lib/ctx.c    2015-06-26 13:04:46 +0900 (5dfd71f)
+++ lib/ctx.c    2015-06-26 13:18:22 +0900 (92caba5)
@@ -2398,9 +2398,8 @@ grn_calloc_default(grn_ctx *ctx, size_t size, const char* file, int line, const
       grn_alloc_info_add(res, file, line, func);
     } else {
       if (!(res = calloc(size, 1))) {
-        MERR("calloc fail (%" GRN_FMT_LLU ")=%p (%s:%d) <%" GRN_FMT_LLU ">",
-             (unsigned long long int)size, res, file, line,
-             (unsigned long long int)alloc_count);
+        MERR("calloc fail (%" GRN_FMT_SIZE ")=%p (%s:%d) <%d>",
+             size, res, file, line, alloc_count);
       } else {
         GRN_ADD_ALLOC_COUNT(1);
         grn_alloc_info_add(res, file, line, func);
-------------- next part --------------
HTML����������������������������...
下載 



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