|
Message
From: cvs at opencores.org<cvs@o...>
Date: Thu Mar 27 21:07:45 CET 2008
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/08/03 27:21:07 Modified: jop/java/target/src/common/util Dbg.java Log: no additional leading zero for negative numbers Revision Changes Path 1.4 jop/java/target/src/common/util/Dbg.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/util/Dbg.java.diff?r1=1.3&r2=1.4 (In the diff below, changes in quantity of whitespace are not shown.) Index: Dbg.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/common/util/Dbg.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- Dbg.java 24 Feb 2008 18:36:06 -0000 1.3 +++ Dbg.java 27 Mar 2008 20:07:45 -0000 1.4 @@ -122,7 +122,7 @@ public static void hexVal(int val) { int i, j; - if (val<16) wr('0'); + if (val<16 && val>=0) wr('0'); for (i=0; i<MAX_TMP-1; ++i) { j = val & 0x0f; if (j<10) {
|
 |