OSDN Git Service

2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jan 2007 22:31:28 +0000 (22:31 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jan 2007 22:31:28 +0000 (22:31 +0000)
* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
cast to print it right.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121362 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/testsuite/libjava.jvmti/natevents.cc

index 023e31a..5cd30df 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-30  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
+       cast to print it right.
+
 2007-01-29  Kaloian Doganov  <kaloian@doganov.org>
 
        PR libgcj/30600:
index a5d7bcc..71c6489 100644 (file)
@@ -200,7 +200,7 @@ FieldModificationCB (jvmtiEnv *env, JNIEnv *jni_env, jthread thread,
   printf (" field_klass=%#llx object=%#llx field=%#llx signature_type=%c",
          (unsigned long long) field_klass, (unsigned long long) object,
          (unsigned long long) field, signature_type);
-  printf (" new_value=%#llx\n", new_value.l);
+  printf (" new_value=%#llx\n", (unsigned long long) new_value.l);
 }
 
 static void