Fixed a couple of warnings related to casts between integer types. Almost forgot.