From 839590348fbfbf3db609a7f28ce6cc416d9f508e Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 19 Sep 2024 09:43:35 +0800 Subject: [PATCH] fix(test): fix syntax error in the unit tests. --- source/libs/stream/test/backendTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/stream/test/backendTest.cpp b/source/libs/stream/test/backendTest.cpp index 391ca66c53..e7e7149882 100644 --- a/source/libs/stream/test/backendTest.cpp +++ b/source/libs/stream/test/backendTest.cpp @@ -479,12 +479,12 @@ TEST_F(BackendEnv, oldBackendInit) { { SBackendWrapper *p = NULL; - int32_t code = (SBackendWrapper *)streamBackendInit(path, 10, 10, &p); + int32_t code = streamBackendInit(path, 10, 10, &p); streamBackendCleanup((void *)p); } { SBackendWrapper *p = NULL; - int32_t code = (SBackendWrapper *)streamBackendInit(path, 10, 10, &p); + int32_t code = streamBackendInit(path, 10, 10, &p); streamBackendCleanup((void *)p); }