From 60ee85258783b1c3eaba92114416951de05d438f Mon Sep 17 00:00:00 2001 From: Teguh Sobirin Date: Sat, 22 Dec 2018 05:43:49 +0700 Subject: [PATCH] lv_log: fix warnings --- lv_misc/lv_log.c | 2 +- lv_misc/lv_log.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lv_misc/lv_log.c b/lv_misc/lv_log.c index 26574372c..ef23d04de 100644 --- a/lv_misc/lv_log.c +++ b/lv_misc/lv_log.c @@ -54,7 +54,7 @@ void lv_log_register_print(void f(lv_log_level_t, const char *, uint32_t, const * @param line line number in the source code where the log added * @param dsc description of the log */ -void lv_log_add(lv_log_level_t level, const char * file, uint32_t line, const char * dsc) +void lv_log_add(lv_log_level_t level, const char * file, int line, const char * dsc) { if(level >= _LV_LOG_LEVEL_NUM) return; /*Invalid level*/ diff --git a/lv_misc/lv_log.h b/lv_misc/lv_log.h index 1b2fa9863..2ae53c97b 100644 --- a/lv_misc/lv_log.h +++ b/lv_misc/lv_log.h @@ -58,7 +58,7 @@ void lv_log_register_print(void f(lv_log_level_t, const char *, uint32_t, const * @param line line number in the source code where the log added * @param dsc description of the log */ -void lv_log_add(lv_log_level_t level, const char * file, uint32_t line, const char * dsc); +void lv_log_add(lv_log_level_t level, const char * file, int line, const char * dsc); /********************** * MACROS