1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04: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:
Timo Sirainen 2002-02-08 22:09:39 +00:00 committed by cras
parent 2f09d9be5a
commit 2b007931a9

View File

@ -568,7 +568,7 @@ char *tparm(const char *str, ...) {
return OOPS;
i = 0;
sp++;
while(i_isdigit(*sp))
while(isdigit((int) (unsigned char) *sp))
i = 10 * i + *sp++ - '0';
if (*sp++ != '}' || pushnum(i))
return OOPS;