aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/Attributes.c
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2006-10-06 22:00:09 +0000
committerChien Yang <[email protected]>2006-10-06 22:00:09 +0000
commita1601b3d1b38533127ce290aaf5e197f002748d5 (patch)
treeeb9c4b73820e402c992f8269c6d8755bdc0bde22 /src/native/ogl/Attributes.c
parent08d704b54c0dd01508b64338dea63b8f8f0fc78d (diff)
Remove the bit of VC 64bit compilation warning
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@715 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl/Attributes.c')
-rw-r--r--src/native/ogl/Attributes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/ogl/Attributes.c b/src/native/ogl/Attributes.c
index 4439524..2538bc4 100644
--- a/src/native/ogl/Attributes.c
+++ b/src/native/ogl/Attributes.c
@@ -485,7 +485,7 @@ void JNICALL Java_javax_media_j3d_NativePipeline_setLightEnables(
#endif
for (i=0; i<nlights; i++) {
- if (enable_mask & (1L<<i)) {
+ if (enable_mask & ((long)(1<<i))) {
glEnable(GL_LIGHT0 + i);
}
else {