jcf-dump.c (SPECIAL_IINC): Ensure arguments match format specifiers in calls to fprintf.

* jcf-dump.c (SPECIAL_IINC): Ensure arguments match format
	specifiers in calls to fprintf.

From-SVN: r33680
This commit is contained in:
Kaveh R. Ghazi 2000-05-04 18:30:09 +00:00 committed by Kaveh Ghazi
parent a85a47fbf4
commit ccedaff3a1
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* jcf-dump.c (SPECIAL_IINC): Ensure arguments match format
specifiers in calls to fprintf.
2000-05-03 Andrew Haley <aph@cygnus.com>
* expr.c (build_java_jsr): Use emit_jump, not expand_goto.

View file

@ -1197,10 +1197,10 @@ DEFUN(disassemble_method, (jcf, byte_ops, len),
#define SPECIAL_IINC(OPERAND_TYPE) \
i = saw_wide ? IMMEDIATE_u2 : IMMEDIATE_u1; \
fprintf (out, " %d", i); \
fprintf (out, " %ld", (long) i); \
INT_temp = saw_wide ? IMMEDIATE_s2 : IMMEDIATE_s1; \
saw_wide = 0; \
fprintf (out, " %d", INT_temp)
fprintf (out, " %ld", (long) INT_temp)
#define SPECIAL_WIDE(OPERAND_TYPE) \
saw_wide = 1;