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