[Groonga-commit] groonga/groonga at e7ab4f4 [master] pat: use specific sized size

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 2 15:34:29 JST 2015


Kouhei Sutou	2015-11-02 15:34:29 +0900 (Mon, 02 Nov 2015)

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

  Message:
    pat: use specific sized size

  Modified files:
    lib/pat.c

  Modified: lib/pat.c (+1 -1)
===================================================================
--- lib/pat.c    2015-11-02 12:22:17 +0900 (7a179e0)
+++ lib/pat.c    2015-11-02 15:34:29 +0900 (74d598d)
@@ -223,7 +223,7 @@ pat_node_get_key(grn_ctx *ctx, grn_pat *pat, pat_node *n)
 }
 
 inline static grn_rc
-pat_node_set_key(grn_ctx *ctx, grn_pat *pat, pat_node *n, const uint8_t *key, unsigned int len)
+pat_node_set_key(grn_ctx *ctx, grn_pat *pat, pat_node *n, const uint8_t *key, uint32_t len)
 {
   if (!key || !len) { return GRN_INVALID_ARGUMENT; }
   PAT_LEN_SET(n, len);
-------------- next part --------------
HTML����������������������������...
Download 



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