Skip to content

Commit

Permalink
Fix pattern matching for 'signed' tolower() platforms, noted by rpluem
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x@781066 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
wrowe committed Jun 2, 2009
1 parent dc327b8 commit 20a4cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strmatch/apr_strmatch.c
Expand Up @@ -74,7 +74,7 @@ static const char *match_boyer_moore_horspool_nocase(
}
s_tmp--;
}
s_next += shift[apr_tolower(*s_next)];
s_next += shift[(unsigned char)apr_tolower(*s_next)];
}
return NULL;
}
Expand Down

0 comments on commit 20a4cb1

Please sign in to comment.