From 70eb1f445e0a33a9815249aa3999570953ead33d Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Fri, 18 Nov 2022 13:18:23 +0800 Subject: [PATCH] fix: fix compile error --- source/libs/qworker/test/qworkerTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/qworker/test/qworkerTests.cpp b/source/libs/qworker/test/qworkerTests.cpp index 8c5e802ef9..8a48977c77 100644 --- a/source/libs/qworker/test/qworkerTests.cpp +++ b/source/libs/qworker/test/qworkerTests.cpp @@ -140,7 +140,7 @@ void qwtBuildDropReqMsg(STaskDropReq *dropMsg, SRpcMsg *dropRpc) { return; } - char *msg = taosMemoryCalloc(1, msgSize); + char *msg = (char*)taosMemoryCalloc(1, msgSize); if (NULL == msg) { return; }