From: Brian Paul Date: Mon, 25 Oct 2010 15:18:07 +0000 (-0600) Subject: rtasm: use pointer_to_func() to silence warning X-Git-Tag: mesa-7.10~986 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1686db70d6c05ddc238c0aa0cb04e35e35264731;p=platform%2Fupstream%2Fmesa.git rtasm: use pointer_to_func() to silence warning --- diff --git a/src/gallium/auxiliary/rtasm/rtasm_ppc.c b/src/gallium/auxiliary/rtasm/rtasm_ppc.c index ef4b306..330838d 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_ppc.c +++ b/src/gallium/auxiliary/rtasm/rtasm_ppc.c @@ -97,7 +97,7 @@ void (*ppc_get_func(struct ppc_function *p))(void) return (void (*)(void)) NULL; else #endif - return (void (*)(void)) p->store; + return (void (*)(void)) pointer_to_func(p->store); }