Fix -Wcast-align violation
Merge pull request #160 from TsudaKageyu/fix-cast-align

Fix -Wcast-align violation