Please sign in to comment.
Fix assertion failure in Visual Studio
isspace() in Visual Studio only accepts 0 ~ 255. However, the char in Visual Studio is signed char, thus it causes assertion failure when calling isspace(). To prevent it, we must convert char to unsigned char before calling isspace().
- Loading branch information...