fix pointer warnings
Merge branch 'master' of github.com:Siacoin/Sia into compile