Silence misc. compiler warnings, add type safety
remove typo preventing osx string writes
Merge pull request #126 from Hello71/warnings

Silence misc. compiler warnings, add type safety
rename SIZE type name from #126

- SIZE is already defined in windef.h
fixes #118

- hacking attributes/skills/traits could case an edge case when
calculating roles. basically now it will try to perform the same role
calculations, but if there's a failure it will fall back to another
method. a little clunky, but this should be a very rare scenario.
Remove OS-specific entries from .gitignore.

.gitignore should only store items that are generated by the code in the
repository. If your operating systems generates temporary files, put
those in your .gitignore_global.