Navigation Menu

Skip to content

Commit

Permalink
windows: suppress printf format warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 21, 2018
1 parent a467cb8 commit fec15bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ctx.c
Expand Up @@ -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));
Expand Down

0 comments on commit fec15bb

Please sign in to comment.