Fix lepton size_t VS2013 warnings by casting to int.

See #515.