Fix -Wtautological-constant-out-of-range-compare

This commit is contained in:
Lucas Betschart 2016-12-14 08:47:21 +01:00
parent ff9cdda4fa
commit 900ab78d46
2 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ void log_struct_(struct log *log, int level,
tal_free(ctx);
}
void log_blob_(struct log *log, enum log_level level, const char *fmt,
void log_blob_(struct log *log, int level, const char *fmt,
size_t len, ...)
{
va_list ap;

View File

@ -42,7 +42,7 @@ void log_(struct log *log, enum log_level level, const char *fmt, ...)
void log_add(struct log *log, const char *fmt, ...) PRINTF_FMT(2,3);
void logv(struct log *log, enum log_level level, const char *fmt, va_list ap);
void log_blob_(struct log *log, enum log_level level, const char *fmt,
void log_blob_(struct log *log, int level, const char *fmt,
size_t len, ...)
PRINTF_FMT(3,5);