susumu.yata
null+****@clear*****
Mon Sep 7 15:11:01 JST 2015
susumu.yata 2015-09-07 15:11:01 +0900 (Mon, 07 Sep 2015) New Revision: 8c8c580df5b9651af5f2ef3d791e6afa7e8ab383 https://github.com/groonga/groonga/commit/8c8c580df5b9651af5f2ef3d791e6afa7e8ab383 Message: grn_ts: add a comment GitHub: #392 Modified files: lib/ts.c Modified: lib/ts.c (+1 -0) =================================================================== --- lib/ts.c 2015-09-07 15:08:24 +0900 (8f1b0f3) +++ lib/ts.c 2015-09-07 15:11:01 +0900 (0d933cd) @@ -2192,6 +2192,7 @@ grn_ts_expr_push(grn_ctx *ctx, grn_ts_expr *expr, } grn_memcpy(buf, str, str_size); buf[str_size] = '\0'; + // FIXME: strtol() converts a string to a long integer, not int64_t. int_value = strtol(buf, &end, 0); if (*end == '\0') { rc = grn_ts_expr_push_int(ctx, expr, int_value); -------------- next part -------------- HTML����������������������������...Download