Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick White committed Jun 19, 2014
1 parent 73604f3 commit 9ee6b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utf8.c
Expand Up @@ -632,7 +632,7 @@ int u8_isvalid(const char *str, size_t length)
const unsigned char *p, *pend = (unsigned char*)str + length;
unsigned char c;
int ret = 1; /* ASCII */
int ab;
size_t ab;

for (p = (unsigned char*)str; p < pend; p++) {
c = *p;
Expand Down

0 comments on commit 9ee6b63

Please sign in to comment.