From e36476ff7e13fe8309bf1b057872e5df789dafce Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 15 Feb 2019 23:08:15 +0100 Subject: [PATCH] oleaut32/tests: Propagate the const instead of casting it away. Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- 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 857100e884d..ef0c32cea95 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;