summaryrefslogtreecommitdiff
path: root/net/gnet1/patches/patch-ad
blob: b57bad3d234a5a7d7c39d3ed29e9019ae90a2f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$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,