From 3c75b863a628adc020062e773d7edf5bac0649fb Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sat, 15 Nov 2003 19:03:54 +0000 Subject: UTF-8 autodetection, some gcc warnings --- vchat-ui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vchat-ui.c') 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 ) { void removefilter( unsigned char *tail ) { int rmv = 0, val; - unsigned char* end; + char* end; flushout( ); rmv = removefromfilterlist( test_simplerm, (void *)tail, 0 ); if(!rmv) { - val = strtol((char*)tail, (char **)&end, 10); - if( (tail != end) && (!*end) ) + val = strtol((char*)tail, &end, 10); + if( (tail != (unsigned char*)end) && (!*end) ) rmv = removefromfilterlist( test_numericrm, (void *)val, 0); } -- cgit v1.2.3