Fix pointer cast into integer type.
Added basic gitignore file.
Turn off ansi so we can use a modern inline.