summaryrefslogtreecommitdiff
path: root/src/core/net-sendbuffer.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-15 23:36:11 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-15 23:36:11 +0000
commit0d62878d6ec1a3f07f31c2212bd3608bfc602cab (patch)
tree624f61f4ddbf6829883beb109fd594ca061b3c5a /src/core/net-sendbuffer.c
parentae2bb54a42c9efc9050d930d1039f1cf5ee7a72e (diff)
downloadirssi-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.c2
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)