fixed some signed/unsigned issues

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1304 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-28 19:26:21 +00:00 committed by cras
commit 51c1fee749
5 changed files with 11 additions and 11 deletions

View file

@ -52,7 +52,7 @@ static void sig_dcc_request(GET_DCC_REC *dcc, const char *nickaddr)
/* check file size limit, NOTE: it's still possible to send a
bogus file size and then just send what ever sized file.. */
max_size = settings_get_int("dcc_autoget_max_size");
if (max_size > 0 && max_size*1024 < dcc->size)
if (max_size > 0 && (unsigned long) max_size*1024 < dcc->size)
return;
/* ok. but do we want/need to resume? */