[Groonga-commit] groonga/groonga at 25deed3 [master] Suppress a warning

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Apr 20 10:55:45 JST 2018


Kouhei Sutou	2018-04-20 10:55:45 +0900 (Fri, 20 Apr 2018)

  New Revision: 25deed3fa2a4e19443f842677138b5b92092ab19
  https://github.com/groonga/groonga/commit/25deed3fa2a4e19443f842677138b5b92092ab19

  Message:
    Suppress a warning

  Modified files:
    lib/db.c

  Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c    2018-04-20 10:50:58 +0900 (4370be90a)
+++ lib/db.c    2018-04-20 10:55:45 +0900 (28e519346)
@@ -63,7 +63,7 @@ static const uint32_t GRN_TABLE_PAT_KEY_CACHE_SIZE = 1 << 15;
 #define WITH_NORMALIZE(table,key,key_size,block) do {\
   if ((table)->normalizer.proc && key && key_size > 0) {\
     grn_obj *nstr;\
-    if ((nstr = grn_string_open(ctx, key, key_size, (table), 0))) {\
+    if ((nstr = grn_string_open(ctx, key, key_size, (grn_obj *)(table), 0))) {\
       const char *key;\
       unsigned int key_size;\
       grn_string_get_normalized(ctx, nstr, &key, &key_size, NULL);\
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180420/dc603630/attachment.htm 



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