Fixed some compiler warnings due to un/signed ints
Merge pull request #53 from xdpirate/patch-2

Fixed some compiler warnings due to un/signed ints