mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 09:32:32 +02:00
since common.h wasn't included in this, changed i_isdigit() -> isdigit()
back with some casting. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2405 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2f09d9be5a
commit
2b007931a9
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ char *tparm(const char *str, ...) {
|
||||||
return OOPS;
|
return OOPS;
|
||||||
i = 0;
|
i = 0;
|
||||||
sp++;
|
sp++;
|
||||||
while(i_isdigit(*sp))
|
while(isdigit((int) (unsigned char) *sp))
|
||||||
i = 10 * i + *sp++ - '0';
|
i = 10 * i + *sp++ - '0';
|
||||||
if (*sp++ != '}' || pushnum(i))
|
if (*sp++ != '}' || pushnum(i))
|
||||||
return OOPS;
|
return OOPS;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue