Mesa (master): rtasm: use pointer_to_func() to silence warning
Brian Paul
brianp at kemper.freedesktop.org
Mon Oct 25 15:19:10 UTC 2010
Module: Mesa
Branch: master
Commit: 1686db70d6c05ddc238c0aa0cb04e35e35264731
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1686db70d6c05ddc238c0aa0cb04e35e35264731
Author: Brian Paul <brianp at vmware.com>
Date: Mon Oct 25 09:18:07 2010 -0600
rtasm: use pointer_to_func() to silence warning
---
src/gallium/auxiliary/rtasm/rtasm_ppc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
}
More information about the mesa-commit
mailing list