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); }