Kouhei Sutou
null+****@clear*****
Tue Jun 11 15:41:53 JST 2013
Kouhei Sutou 2013-06-11 15:41:53 +0900 (Tue, 11 Jun 2013) New Revision: 99de271a4cc637c5e72c831a98611435c56f57fd https://github.com/groonga/groonga/commit/99de271a4cc637c5e72c831a98611435c56f57fd Message: clang: suppress a warning lib/str.c:503:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] nstr->norm = norm; ^ ~~~~ Modified files: lib/str.c Modified: lib/str.c (+1 -1) =================================================================== --- lib/str.c 2013-06-11 15:14:03 +0900 (b14a77a) +++ lib/str.c 2013-06-11 15:41:53 +0900 (acb53dc) @@ -500,7 +500,7 @@ normalize_utf8(grn_ctx *ctx, grn_str *nstr) } de = norm + ds; d = norm + (d - (unsigned char *)nstr->norm); - nstr->norm = norm; + nstr->norm = (char *)norm; if (ch) { int16_t *checks; if (!(checks = GRN_REALLOC(nstr->checks, ds * sizeof(int16_t)+ 1))) { -------------- next part -------------- HTML����������������������������...Download