Remove some unnecessary casts, and fix a compiler warning.
Remove some unnecessary casts, and fix a compiler warning.

cbagwell/sox,CaptainHayashi/sox,CaptainHayashi/sox,davel/sox,MageSlayer/sox,Distrotech/sox,Distrotech/sox,mhartzel/sox_personal_fork,MageSlayer/sox,pcqpcq/sox,cbagwell/sox,cbagwell/sox,jacksonh/sox,uklauer/sox,MageSlayer/sox,pcqpcq/sox,Motiejus/sox,CaptainHayashi/sox,Motiejus/sox,MageSlayer/sox,uklauer/sox,uklauer/sox,mhartzel/sox_personal_fork,Motiejus/sox,mhartzel/sox_personal_fork,davel/sox,Distrotech/sox,mhartzel/sox_personal_fork,jacksonh/sox,MageSlayer/sox,pcqpcq/sox,Distrotech/sox,jacksonh/sox,davel/sox,cbagwell/sox,uklauer/sox,CaptainHayashi/sox,pcqpcq/sox,davel/sox,Motiejus/sox,jacksonh/sox