Fix integer overflow
Fix integer overflow

mbrubeck/image,tomaka/image,JaySon-Huang/image,bvssvni/image,dtwood/piston-image,nwin/rust-image,PistonDevelopers/image,theotherphil/image,lady-segfault/image,hetzge/image,TyOverby/rust-image,twoodford/image,PistonDevelopers/image,huonw/image