classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] cvs head 64-bit build breakage (java_nio_MappedByteBufferIm


From: Christian Thalinger
Subject: [cp-patches] cvs head 64-bit build breakage (java_nio_MappedByteBufferImpl.c)
Date: Thu, 28 Jul 2005 09:55:43 +0200

Just a small typo. But it seems noone is testing with 64-bits ;-)

TWISTI

2005-7-28  Christian Thalinger  <address@hidden>

        * native/jni/java-nio/java_nio_MappedByteBufferImpl.c 
        (get_raw_values): Fixed typo for 64-bit case.

Index: native/jni/java-nio/java_nio_MappedByteBufferImpl.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/java-nio/java_nio_MappedByteBufferImpl.c,v
retrieving revision 1.5
diff -u -3 -p -r1.5 java_nio_MappedByteBufferImpl.c
--- native/jni/java-nio/java_nio_MappedByteBufferImpl.c 24 Jul 2005 03:35:58 
-0000      1.5
+++ native/jni/java-nio/java_nio_MappedByteBufferImpl.c 28 Jul 2005 07:52:37 
-0000
@@ -125,7 +125,7 @@ get_raw_values (JNIEnv *env, jobject thi
                                     RawData_data), pagesize);
 #elif (SIZEOF_VOID_P == 8)
   RawData_data =
-    (*env)->GetFieldID (env, (*env)->GetObjectClass 
(MappedByteBufferImpl_address_value),
+    (*env)->GetFieldID (env, (*env)->GetObjectClass (env, 
MappedByteBufferImpl_address_value),
                        "data", "J");
   *address = (void *)
     ALIGN_DOWN ((*env)->GetLongField (env, MappedByteBufferImpl_address_value,






reply via email to

[Prev in Thread] Current Thread [Next in Thread]