lv_log: fix warnings

This commit is contained in:
Teguh Sobirin
2018-12-22 05:43:49 +07:00
parent 52ffa29ebe
commit 60ee852587
2 changed files with 2 additions and 2 deletions

View File

@@ -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 line line number in the source code where the log added
* @param dsc description of the log * @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*/ if(level >= _LV_LOG_LEVEL_NUM) return; /*Invalid level*/

View File

@@ -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 line line number in the source code where the log added
* @param dsc description of the log * @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 * MACROS