diff options
author | erdgeist <> | 2003-11-15 19:03:54 +0000 |
---|---|---|
committer | erdgeist <> | 2003-11-15 19:03:54 +0000 |
commit | 3c75b863a628adc020062e773d7edf5bac0649fb (patch) | |
tree | da4ea52fbb2b6cbedb6cbc3d6988bcb3c1187e15 /vchat-ui.c | |
parent | b64a6c9bc6241e77e214fa5e43975fb0fa20b336 (diff) |
UTF-8 autodetection, some gcc warnings
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 | ||