diff options
author | Brian Paul <[email protected]> | 2010-10-25 09:18:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-10-25 09:18:07 -0600 |
commit | 1686db70d6c05ddc238c0aa0cb04e35e35264731 (patch) | |
tree | 4ec8599d48641e07a0caf90016e2f71312d6a58e /src/gallium | |
parent | e1e7843d030c0a14521642131097d795c0103685 (diff) |
rtasm: use pointer_to_func() to silence warning
Diffstat (limited to 'src/gallium')
-rw-r--r-- | 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 ef4b306cb67..330838d23cf 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); } |