equal
deleted
inserted
replaced
478 } |
478 } |
479 #endif // PRODUCT |
479 #endif // PRODUCT |
480 |
480 |
481 STEP("printing type of error") |
481 STEP("printing type of error") |
482 |
482 |
483 switch(_id) { |
483 switch(static_cast<unsigned int>(_id)) { |
484 case OOM_MALLOC_ERROR: |
484 case OOM_MALLOC_ERROR: |
485 case OOM_MMAP_ERROR: |
485 case OOM_MMAP_ERROR: |
486 if (_size) { |
486 if (_size) { |
487 st->print("# Native memory allocation "); |
487 st->print("# Native memory allocation "); |
488 st->print((_id == (int)OOM_MALLOC_ERROR) ? "(malloc) failed to allocate " : |
488 st->print((_id == (int)OOM_MALLOC_ERROR) ? "(malloc) failed to allocate " : |