From 1dd9e1e0f236b8923b4351152477921277c2a103 Mon Sep 17 00:00:00 2001 From: yangwei Date: Wed, 31 May 2023 11:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E2=86=A9=20revert(MESA=5Fhandle=5Flogger.h):?= =?UTF-8?q?=20=E6=8E=A5=E5=8F=A3=E5=9B=9E=E6=BB=9A=EF=BC=8C=E5=8F=A5?= =?UTF-8?q?=E6=9F=84=E7=BB=A7=E7=BB=AD=E4=BD=BF=E7=94=A8=E5=B7=B2=E6=9C=89?= =?UTF-8?q?=E7=9A=84void*=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MESA_handle_logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MESA_handle_logger.c b/src/MESA_handle_logger.c index d9b8274..4021a74 100644 --- a/src/MESA_handle_logger.c +++ b/src/MESA_handle_logger.c @@ -224,7 +224,7 @@ int MESA_handle_runtime_log_level_enabled(void *v_handle, const int level) void MESA_handle_runtime_log(void *v_handle, int level, const char *module, const char *fmt, ...) { - struct log_handle_t *handle = (struct log_handle_t *)handle; + struct log_handle_t *handle = (struct log_handle_t *)v_handle; if(handle == NULL || handle->runtime_log_file == NULL)return; if(handle->zc == NULL)return;