Remove redundant type casts

Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>