rtasm: use pointer_to_func() to silence warning
authorBrian Paul <brianp@vmware.com>
Mon, 25 Oct 2010 15:18:07 +0000 (09:18 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 25 Oct 2010 15:18:07 +0000 (09:18 -0600)
src/gallium/auxiliary/rtasm/rtasm_ppc.c

index ef4b306cb677dfd165480d0b1847f85aaf0e2119..330838d23cf1ec4f337458cb7c924708d5aafa64 100644 (file)
@@ -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);
 }