From 08d704b54c0dd01508b64338dea63b8f8f0fc78d Mon Sep 17 00:00:00 2001 From: Chien Yang Date: Fri, 6 Oct 2006 18:54:34 +0000 Subject: 1) Fixed a logic bug in earlier putback 2) Fixed Issue 352 : VC compiler generates warning on Windows AMD64 build 3) Clean up build script and code to eliminate warning from VC compiler. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@714 ba19aa83-45c5-6ac9-afd3-db810772062c --- src/native/ogl/Attributes.c | 4 ++-- src/native/ogl/Canvas3D.c | 7 ++----- src/native/ogl/CgShaderProgram.c | 8 +------- src/native/ogl/GeometryArrayRetained.c | 8 ++++---- src/native/ogl/NativeConfigTemplate3D.c | 6 ++---- src/native/ogl/NativeScreenInfo.c | 2 +- src/native/ogl/build-windows-i586-vc.xml | 4 ++-- 7 files changed, 14 insertions(+), 25 deletions(-) diff --git a/src/native/ogl/Attributes.c b/src/native/ogl/Attributes.c index db87e70..4439524 100644 --- a/src/native/ogl/Attributes.c +++ b/src/native/ogl/Attributes.c @@ -480,12 +480,12 @@ void JNICALL Java_javax_media_j3d_NativePipeline_setLightEnables( #ifdef VERBOSE fprintf(stderr, "Canvas3D.updateLightEnables: mask = 0x%x, 0x%x\n", - (int) ((enable_mask >> 32) & 0xffffffff), + (int) ((enable_mask >> 32L) & 0xffffffff), (int) (enable_mask & 0xffffffff)); #endif for (i=0; i - + @@ -74,7 +74,7 @@ - + -- cgit v1.2.3