/hg/icedtea6: Add cast to silence warning.
aph at icedtea.classpath.org
aph at icedtea.classpath.org
Mon Jan 23 08:53:35 PST 2012
changeset 6179ebaffe6b in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=6179ebaffe6b
author: aph
date: Mon Jan 23 16:43:01 2012 +0000
Add cast to silence warning. 2012-01-23 Andrew Haley
<aph at redhat.com>
* arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
(print_address): Add cast to silence warning.
diffstat:
ChangeLog | 5 +++++
arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 825402ba63cb -r 6179ebaffe6b ChangeLog
--- a/ChangeLog Mon Jan 23 09:49:12 2012 -0500
+++ b/ChangeLog Mon Jan 23 16:43:01 2012 +0000
@@ -1,3 +1,8 @@
+2012-01-23 Andrew Haley <aph at redhat.com>
+
+ * arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp (print_address): Add
+ cast to silence warning.
+
2012-01-19 Xerxes RÃ¥nby <xerxes at zafena.se>
Andrew Haley <aph at redhat.com>
diff -r 825402ba63cb -r 6179ebaffe6b arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp
--- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Mon Jan 23 09:49:12 2012 -0500
+++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Mon Jan 23 16:43:01 2012 +0000
@@ -950,7 +950,7 @@
// where
static void *print_address(void *, const char *tag, void *data) {
if (strcmp(tag, "insn") == 0)
- printf("0x%08x:\t", data);
+ printf("0x%08x:\t", (unsigned int)data);
return NULL;
}
#endif
More information about the distro-pkg-dev
mailing list