mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
Enabled lots of GCC warnings, fixed those that were easy to fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f8aa81b73c
commit
dcc2e89b2e
25 changed files with 84 additions and 106 deletions
|
|
@ -268,7 +268,7 @@ static void dcc_ctcp_msg(const char *data, IRC_SERVER_REC *server,
|
|||
{
|
||||
char *type, *arg, *portstr, *sizestr;
|
||||
void *free_arg;
|
||||
unsigned long size;
|
||||
long size;
|
||||
int port;
|
||||
DCC_REC *dcc;
|
||||
|
||||
|
|
@ -426,7 +426,7 @@ static void dcc_send_read_size(DCC_REC *dcc)
|
|||
memcpy(&bytes, dcc->count_buf, 4);
|
||||
bytes = (guint32) ntohl(bytes);
|
||||
|
||||
dcc->gotalldata = bytes == dcc->transfd;
|
||||
dcc->gotalldata = (long) bytes == dcc->transfd;
|
||||
dcc->count_pos = 0;
|
||||
|
||||
if (!dcc->fastsend) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue