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.
Log to stderr on Linux systems