diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-15 23:36:11 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-15 23:36:11 +0000 |
commit | 0d62878d6ec1a3f07f31c2212bd3608bfc602cab (patch) | |
tree | 624f61f4ddbf6829883beb109fd594ca061b3c5a /src/core/net-sendbuffer.c | |
parent | ae2bb54a42c9efc9050d930d1039f1cf5ee7a72e (diff) | |
download | irssi-0d62878d6ec1a3f07f31c2212bd3608bfc602cab.zip |
Fixed some signedness warnings and memdebug.h should compile now fine
with -ansi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1124 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/net-sendbuffer.c')
-rw-r--r-- | src/core/net-sendbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/net-sendbuffer.c b/src/core/net-sendbuffer.c index 18870294..eee654dd 100644 --- a/src/core/net-sendbuffer.c +++ b/src/core/net-sendbuffer.c @@ -124,7 +124,7 @@ int net_sendbuffer_send(NET_SENDBUF_REC *rec, const void *data, int size) ret = net_transmit(rec->handle, data, size); if (ret < 0) return -1; size -= ret; - data = ((char *) data) + ret; + data = ((const char *) data) + ret; } if (size <= 0) |