Quick bit of sanity checking with types and potential int32 overflow issue