Kouhei Sutou
null+****@clear*****
Thu Jun 21 16:20:01 JST 2018
Kouhei Sutou 2018-06-21 16:20:01 +0900 (Thu, 21 Jun 2018) New Revision: fec15bba73bce16a62e9516525a40e51c767fef8 https://github.com/groonga/groonga/commit/fec15bba73bce16a62e9516525a40e51c767fef8 Message: windows: suppress printf format warnings Modified files: lib/ctx.c Modified: lib/ctx.c (+2 -2) =================================================================== --- lib/ctx.c 2018-06-21 15:51:40 +0900 (421d68aed) +++ lib/ctx.c 2018-06-21 16:20:01 +0900 (b3a2024e3) @@ -1781,11 +1781,11 @@ exception_filter(EXCEPTION_POINTERS *info) { const char *unknown = "(unknown)"; GRN_LOG(ctx, GRN_LOG_CRIT, - "%s:%d:%d: %.*s(): <%s>: <%s>", + "%s:%lu:%lu: %.*s(): <%s>: <%s>", (have_location ? line.FileName : unknown), (have_location ? line.LineNumber : -1), (have_location ? line_displacement : -1), - (have_symbol_name ? symbol->NameLen : strlen(unknown)), + (int)(have_symbol_name ? symbol->NameLen : strlen(unknown)), (have_symbol_name ? symbol->Name : unknown), (have_module_name ? module.ModuleName : unknown), (have_module_name ? module.ImageName : unknown)); -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180621/d4104961/attachment.htm