glapi: fix int->pointer conversions warnings in no-op functions
authorBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 15:15:14 +0000 (08:15 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Jan 2010 15:15:14 +0000 (08:15 -0700)
src/mesa/glapi/glapi.c

index adb47f9fecb0047a97b05eeaf56fbebfe97f0596..35b8df2adf77da3a14ea25171b0c2234176ca839 100644 (file)
@@ -121,7 +121,7 @@ warn(const char *func)
    warn(#func);
 
 #define RETURN_DISPATCH(func, args, msg)                                     \
-   return warn(#func);
+   warn(#func); return 0
 
 #define TABLE_ENTRY(name) (_glapi_proc) NoOp##name