Kouhei Sutou
null+****@clear*****
Wed May 9 11:18:37 JST 2018
Kouhei Sutou 2018-05-09 11:18:37 +0900 (Wed, 09 May 2018) New Revision: 600cf59776a5ce52aad7f54405b7e05a84a2857f https://github.com/groonga/groonga/commit/600cf59776a5ce52aad7f54405b7e05a84a2857f Message: Use int32_t explicitly Modified files: include/groonga/output.h lib/ctx.c lib/output.c Modified: include/groonga/output.h (+2 -2) =================================================================== --- include/groonga/output.h 2018-05-09 11:18:01 +0900 (d5241aec6) +++ include/groonga/output.h 2018-05-09 11:18:37 +0900 (779e104a5) @@ -1,5 +1,5 @@ /* - Copyright(C) 2009-2016 Brazil + Copyright(C) 2009-2018 Brazil This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -83,7 +83,7 @@ GRN_API void grn_ctx_output_map_open(grn_ctx *ctx, const char *name, int nelements); GRN_API void grn_ctx_output_map_close(grn_ctx *ctx); GRN_API void grn_ctx_output_null(grn_ctx *ctx); -GRN_API void grn_ctx_output_int32(grn_ctx *ctx, int value); +GRN_API void grn_ctx_output_int32(grn_ctx *ctx, int32_t value); GRN_API void grn_ctx_output_int64(grn_ctx *ctx, int64_t value); GRN_API void grn_ctx_output_uint64(grn_ctx *ctx, uint64_t value); GRN_API void grn_ctx_output_float(grn_ctx *ctx, double value); Modified: lib/ctx.c (+1 -1) =================================================================== --- lib/ctx.c 2018-05-09 11:18:01 +0900 (561e160db) +++ lib/ctx.c 2018-05-09 11:18:37 +0900 (e9d7fbe1f) @@ -1968,7 +1968,7 @@ grn_ctx_output_null(grn_ctx *ctx) } void -grn_ctx_output_int32(grn_ctx *ctx, int value) +grn_ctx_output_int32(grn_ctx *ctx, int32_t value) { grn_output_int32(ctx, ctx->impl->output.buf, Modified: lib/output.c (+1 -1) =================================================================== --- lib/output.c 2018-05-09 11:18:01 +0900 (96a972032) +++ lib/output.c 2018-05-09 11:18:37 +0900 (a8972cd07) @@ -326,7 +326,7 @@ grn_output_map_close(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type } void -grn_output_int32(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, int value) +grn_output_int32(grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, int32_t value) { put_delimiter(ctx, outbuf, output_type); switch (output_type) { -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180509/a8693b57/attachment-0001.htm