View | Details | Return to bug 31842
Collapse All | Expand All

(-)natString.cc (-4 / +4 lines)
Lines 371-381 _Jv_FormatInt (jchar* bufend, jint num) Link Here
371
  if (num < 0)
371
  if (num < 0)
372
    {
372
    {
373
      isNeg = true;
373
      isNeg = true;
374
      num = -(num);
374
      if (num != (jint) -2147483648U)
375
      if (num < 0)
375
	num = -(num);
376
      else
376
	{
377
	{
377
	  // Must be MIN_VALUE, so handle this special case.
378
	  // Handle special case of MIN_VALUE.
378
	  // FIXME use 'unsigned jint' for num.
379
	  *--ptr = '8';
379
	  *--ptr = '8';
380
	  num = 214748364;
380
	  num = 214748364;
381
	}
381
	}

Return to bug 31842