[PATCH] oleaut32/tests: Propagate the const instead of casting it away
Michael Stefaniuc
mstefani at winehq.org
Fri Feb 15 16:08:15 CST 2019
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/oleaut32/tests/typelib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c
index 857100e884..ef0c32cea9 100644
--- a/dlls/oleaut32/tests/typelib.c
+++ b/dlls/oleaut32/tests/typelib.c
@@ -4807,7 +4807,7 @@ static void test_dump_typelib(const char *name)
for (func = 0; func < typeattr->cFuncs; func++)
{
- function_info *fn_info = (function_info *)&ti->funcs[func];
+ const function_info *fn_info = &ti->funcs[func];
FUNCDESC *desc;
BSTR namesTab[256];
UINT cNames;
--
2.20.1
More information about the wine-devel
mailing list