Merge pull request #129 from vadz/warn-fix

Fix gcc strict aliasing warnings with function pointers too.