diff options
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-x | vchat-ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1539,14 +1539,14 @@ clearfilters( char colour ) { | |||
1539 | void | 1539 | void |
1540 | removefilter( unsigned char *tail ) { | 1540 | removefilter( unsigned char *tail ) { |
1541 | int rmv = 0, val; | 1541 | int rmv = 0, val; |
1542 | unsigned char* end; | 1542 | char* end; |
1543 | 1543 | ||
1544 | flushout( ); | 1544 | flushout( ); |
1545 | 1545 | ||
1546 | rmv = removefromfilterlist( test_simplerm, (void *)tail, 0 ); | 1546 | rmv = removefromfilterlist( test_simplerm, (void *)tail, 0 ); |
1547 | if(!rmv) { | 1547 | if(!rmv) { |
1548 | val = strtol((char*)tail, (char **)&end, 10); | 1548 | val = strtol((char*)tail, &end, 10); |
1549 | if( (tail != end) && (!*end) ) | 1549 | if( (tail != (unsigned char*)end) && (!*end) ) |
1550 | rmv = removefromfilterlist( test_numericrm, (void *)val, 0); | 1550 | rmv = removefromfilterlist( test_numericrm, (void *)val, 0); |
1551 | } | 1551 | } |
1552 | 1552 | ||