summaryrefslogtreecommitdiff
path: root/vchat-ui.c
diff options
context:
space:
mode:
authorerdgeist <>2003-11-15 19:03:54 +0000
committererdgeist <>2003-11-15 19:03:54 +0000
commit3c75b863a628adc020062e773d7edf5bac0649fb (patch)
treeda4ea52fbb2b6cbedb6cbc3d6988bcb3c1187e15 /vchat-ui.c
parentb64a6c9bc6241e77e214fa5e43975fb0fa20b336 (diff)
UTF-8 autodetection, some gcc warnings
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-xvchat-ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index e2b68d1..ef6561e 100755
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -1539,14 +1539,14 @@ clearfilters( char colour ) {
1539void 1539void
1540removefilter( unsigned char *tail ) { 1540removefilter( 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