summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-22 08:15:14 -0700
committerBrian Paul <[email protected]>2010-01-22 08:15:14 -0700
commitea5918be0e8bc75086a7e6d4a8c0fa04585028ee (patch)
tree8542a94bc6c4323041cf30fc1fa47aef74c8982c /src/mesa/glapi
parent2f1a49e335837bdb03b5ce7818d83989c743935a (diff)
glapi: fix int->pointer conversions warnings in no-op functions
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/glapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index adb47f9fecb..35b8df2adf7 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -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