mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
Fix -Wtautological-constant-out-of-range-compare
This commit is contained in:
parent
ff9cdda4fa
commit
900ab78d46
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user