Two symbols (isItTimeToYield and dispatchException) are declared
as volatile in the source and gcc doesn't like that the modifier
is implicitely removed. Use an explicit cast.

Signed-off-by: Tomas Carnecky <[email protected]>
---
 hw/xfree86/loader/sdksyms.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/loader/sdksyms.sh b/hw/xfree86/loader/sdksyms.sh
index be0b0ee..b320661 100755
--- a/hw/xfree86/loader/sdksyms.sh
+++ b/hw/xfree86/loader/sdksyms.sh
@@ -399,7 +399,7 @@ BEGIN {
        sub(/[^a-zA-Z0-9_].*/, "", symbol);
 
        #print;
-       printf("    &%s,\n", symbol);
+       printf("    (void *) &%s,\n", symbol);
     }
 }
 
-- 
1.6.1.2


_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to