mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
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:
parent
fb488720f5
commit
51c1fee749
5 changed files with 11 additions and 11 deletions
|
|
@ -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? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue