Silence more compiler warnings;  fix an instance of potential undefined behaviour from signed overflow.
Silence more compiler warnings;  fix an instance of potential undefined behaviour from signed overflow.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator