warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fbd6d780b7
commit
17c5f881ee
1 changed files with 1 additions and 1 deletions
|
|
@ -1165,7 +1165,7 @@ String *replace_captures(const char *input, String *subst, int captures[])
|
|||
/* Handle substitution */
|
||||
if (*p == '\0') {
|
||||
Putc('\\', result);
|
||||
} else if (isdigit(*p)) {
|
||||
} else if (isdigit((int)*p)) {
|
||||
int group = *p++ - '0';
|
||||
int l = captures[group*2], r = captures[group*2 + 1];
|
||||
if (l != -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue