Remove malloc cast

Not needed; see http://stackoverflow.com/questions/605845/do-i-cast-the-result-of-malloc
Merge pull request #1 from grasGendarme/patch-1

Remove malloc cast