The int conversion narrows a long possibly inverting its sign. This may lead to broken comparator sort orders. Caught by Error Prone. Bug: 27723540 Change-Id: I53d70c25a22cdcfc496443395b170f586d259fa7
Bug: 24576551 Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
Change-Id: Ic6f9523c4c70f8b832d8f57551417f4f19ea144f