summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-19 01:10:11 +0000
committerBrian Paul <[email protected]>2000-03-19 01:10:11 +0000
commit959f802dabd4f4347dc0ea925ae687abb6938588 (patch)
treedf8d13fb85b62d132007e69d9963c22beee55abc /src/mesa/main/context.h
parenta742e9bccd683f2a899dafc3703e4d59037c4437 (diff)
fixed compiler warnings on BeOS R4
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r--src/mesa/main/context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h
index b5dfa4d9e18..b9cc69bc69d 100644
--- a/src/mesa/main/context.h
+++ b/src/mesa/main/context.h
@@ -1,4 +1,4 @@
-/* $Id: context.h,v 1.13 2000/02/02 19:16:46 brianp Exp $ */
+/* $Id: context.h,v 1.14 2000/03/19 01:10:11 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -142,7 +142,7 @@ do { \
extern struct immediate *_mesa_CurrentInput;
-#define GET_CURRENT_CONTEXT(C) GLcontext *C = _glapi_Context
+#define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_Context
#define GET_IMMEDIATE struct immediate *IM = _mesa_CurrentInput