You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by py...@apache.org on 2007/04/26 11:30:01 UTC

svn commit: r532680 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c

Author: pyang
Date: Thu Apr 26 02:30:01 2007
New Revision: 532680

URL: http://svn.apache.org/viewvc?view=rev&rev=532680
Log:
Apply patch for HARMONY-654([classlib][portlib] hytty_printf(%d, -1) outputs 01)

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c?view=diff&rev=532680&r1=532679&r2=532680
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/shared/hystr.c Thu Apr 26 02:30:01 2007
@@ -699,7 +699,7 @@
         {
           if (buf)
             {
-              if (actualPrecision >= 0)
+              if ((I_32)actualPrecision >= 0)
                 {
                   buf[length] = '0';
                 }