diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-12-30 21:20:54 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-12-30 21:20:54 -0800 |
| commit | ae27a7eec4c1d03f9c2a90708ad5f3db3ca0603e (patch) | |
| tree | 4693841a4dada08a518ef096550b0b391c8ffb58 /utils.c | |
| parent | 323da51fb7b4960bc0ef4f086f057ae702864d23 (diff) | |
Fixed some minor issues
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ unsigned char unescapechar(const char *escaped, const char **end) break; } case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': { // Octal - ret = escaped[0] - '0'; + ret = (unsigned char)escaped[0] - '0'; if ('0' <= escaped[1] && escaped[1] <= '7') { ++len; ret = (ret << 3) | (escaped[1] - '0'); |
