pkgsrc/net/gnet1/patches/patch-ad
2003-04-15 11:49:01 +00:00

18 lines
524 B
Text

$NetBSD: patch-ad,v 1.1.1.1 2003/04/15 11:49:02 wiz Exp $
--- examples/echoserver-unix.c.orig Thu Sep 26 13:58:59 2002
+++ examples/echoserver-unix.c Wed Feb 12 10:04:48 2003
@@ -234,5 +234,5 @@
if (c & G_IO_IN) {
GIOError e;
- guint bytes_read;
+ gsize bytes_read;
/* Read the data into our buffer */
@@ -265,5 +265,5 @@
if (c & G_IO_OUT) {
GIOError e;
- guint bytes_written;
+ gsize bytes_written;
/* Write the data out */
e = g_io_channel_write(iochannel, cs->buffer, cs->n,