Fix #14. Cast signed strings to unsigned to prevent ctype.h warning

Fix issue #14