Kouhei Sutou
null+****@clear*****
Tue Jun 11 14:07:21 JST 2013
Kouhei Sutou 2013-06-11 14:07:21 +0900 (Tue, 11 Jun 2013) New Revision: 7e9fa932f0c48446b5a2c50f9b345cbc698a4502 https://github.com/groonga/groonga/commit/7e9fa932f0c48446b5a2c50f9b345cbc698a4502 Message: clang: suppress warnings lib/expr.c:4178:63: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (grn_column_index(ctx, *p, c->op, &index, 1, &sid)) { ^~~~ include/groonga.h:1854:69: note: passing argument to parameter 'section' here grn_obj **indexbuf, int buf_size, int *section); ^ lib/expr.c:4183:63: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (grn_column_index(ctx, *p, c->op, &index, 1, &sid)) { ^~~~ include/groonga.h:1854:69: note: passing argument to parameter 'section' here grn_obj **indexbuf, int buf_size, int *section); ^ Modified files: lib/expr.c Modified: lib/expr.c (+1 -1) =================================================================== --- lib/expr.c 2013-06-11 14:06:08 +0900 (d2348f4) +++ lib/expr.c 2013-06-11 14:07:21 +0900 (9174809) @@ -4171,7 +4171,7 @@ scan_info_build(grn_ctx *ctx, grn_obj *expr, int *n, sis[i++] = si; /* better index resolving framework for functions should be implemented */ { - uint32_t sid; + int sid; grn_obj *index, **p = si->args, **pe = si->args + si->nargs; for (; p < pe; p++) { if (GRN_DB_OBJP(*p)) { -------------- next part -------------- HTML����������������������������...Download