Made some type casts in the frag shader explicit
Merge pull request #1 from khyew/master

Made some type casts in the frag shader explicit