This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] events output fixed.
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Tue, 30 Jan 2007 22:41:57 +0100
- Subject: [patch] events output fixed.
Hello,
the attached patch fixes the events output fail on darwin ppc and ppc
linux. I guess it happens elsewhere too. (note, (my) the linux-ppc tc
still fails.)
ok for trunk ?
Thanks,
Andreas
2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
cast to print it right.
Index: natevents.cc
===================================================================
--- natevents.cc (revision 121359)
+++ natevents.cc (working copy)
@@ -200,7 +200,7 @@
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