Minor changes to remove compiler warnings on Mac.
Removed compile warning for linux about different sizes
Merge pull request #12 from lukevers/mac-warnings

Minor changes to remove compiler warnings on Mac.