For future safety: "-1" is dangerous when comparing with unsigned type.

Summary: For future safety: "-1" is dangerous when comparing with unsigned
type.

Reviewed By: dmitrip

Differential Revision: D1442895