commit | 9e8584b50dc48543b36f587150bce4d57054472f | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Wed Nov 06 19:21:28 2024 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Wed Nov 06 19:21:28 2024 +0800 |
tree | 9aff51cbdf6d0d9f3f9788fc06f3600ce3bd3ca2 | |
parent | 9d0a70f6f4319804195c867520cf27e43229e3ce [diff] [blame] |
Fix code warning. Change-Id: Ib11fb49f528d3688351ae349d5b4e307c28b3967
diff --git a/mbtk/test/others/mbtk_debug_test.c b/mbtk/test/others/mbtk_debug_test.c index 3057abf..39c8105 100755 --- a/mbtk/test/others/mbtk_debug_test.c +++ b/mbtk/test/others/mbtk_debug_test.c
@@ -1,4 +1,5 @@ #include <stdio.h> +#include <pthread.h> #include "mbtk_log.h" #include "mbtk_utils.h" @@ -7,7 +8,7 @@ void test3() { printf("%s start\n", __FUNCTION__); - char *ptr = 10; + char *ptr = (char*)10; *ptr = 'a'; printf("%s end\n", __FUNCTION__); }