Cleaned up the warnings (adding better C++ compatibility) and removed type punning.
3 files changed