summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_context.h
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2002-04-04 18:25:40 +0000
committerKarl Schultz <kschultz@freedesktop.org>2002-04-04 18:25:40 +0000
commit4d030ba65177842dbc022160ba18d5451dc140e4 (patch)
treefdcc89999e04cf98494d781b03cc71ee87587fc1 /src/mesa/tnl/t_context.h
parentdb0944b08a9bf2983cfed56039dab6ca800f02b4 (diff)
casts to silence compiler warnings
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r--src/mesa/tnl/t_context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index 98ff545604..92483e6999 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -1,4 +1,4 @@
-/* $Id: t_context.h,v 1.38 2002/02/13 00:53:20 keithw Exp $ */
+/* $Id: t_context.h,v 1.39 2002/04/04 18:25:40 kschultz Exp $ */
/*
* Mesa 3-D graphics library
@@ -96,8 +96,8 @@
/* Flags for IM->TexCoordSize. Enough flags for 16 units.
*/
-#define TEX_0_SIZE_3 0x1
-#define TEX_0_SIZE_4 0x10001
+#define TEX_0_SIZE_3 (unsigned)0x1
+#define TEX_0_SIZE_4 (unsigned)0x10001
#define TEX_SIZE_3(unit) (TEX_0_SIZE_3 << (unit))
#define TEX_SIZE_4(unit) (TEX_0_SIZE_4 << (unit))