[build] Fix int/gpointer type conversion
Merge pull request #17 from cxl000/x86_64_build

[build] Fix int/gpointer type conversion