Chromium Code Reviews| Index: runtime/vm/object.cc |
| =================================================================== |
| --- runtime/vm/object.cc (revision 40825) |
| +++ runtime/vm/object.cc (working copy) |
| @@ -16735,7 +16735,7 @@ |
| const intptr_t used = Used(); |
| if (used == 0) return 0; |
| const uint32_t digit0 = DigitAt(0); |
| - return Neg() ? static_cast<uint32_t>(-digit0) : digit0; |
| + return Neg() ? static_cast<uint32_t>(-static_cast<int32_t>(digit0)) : digit0; |
|
siva
2014/10/01 00:04:40
The multiple casts does look weird.
|
| } |