use gsize instead of int where appropriate (64-bit cleanliness fix)
authorManish Singh <yosh@gimp.org>
Sun, 29 Sep 2002 19:16:31 +0000 (19:16 +0000)
committerManish Singh <yosh@src.gnome.org>
Sun, 29 Sep 2002 19:16:31 +0000 (19:16 +0000)
Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>

        * tests/mainloop-test.c: use gsize instead of int where appropriate
        (64-bit cleanliness fix)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
tests/mainloop-test.c

index 25b33d4..ea4012c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>
+
+       * tests/mainloop-test.c: use gsize instead of int where appropriate
+       (64-bit cleanliness fix)
+
 2002-09-29  Tor Lillqvist  <tml@iki.fi>
 
        * configure.in: Instead of forcing -fnative-struct into CFLAGS
index 25b33d4..ea4012c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>
+
+       * tests/mainloop-test.c: use gsize instead of int where appropriate
+       (64-bit cleanliness fix)
+
 2002-09-29  Tor Lillqvist  <tml@iki.fi>
 
        * configure.in: Instead of forcing -fnative-struct into CFLAGS
index 25b33d4..ea4012c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>
+
+       * tests/mainloop-test.c: use gsize instead of int where appropriate
+       (64-bit cleanliness fix)
+
 2002-09-29  Tor Lillqvist  <tml@iki.fi>
 
        * configure.in: Instead of forcing -fnative-struct into CFLAGS
index 25b33d4..ea4012c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>
+
+       * tests/mainloop-test.c: use gsize instead of int where appropriate
+       (64-bit cleanliness fix)
+
 2002-09-29  Tor Lillqvist  <tml@iki.fi>
 
        * configure.in: Instead of forcing -fnative-struct into CFLAGS
index 25b33d4..ea4012c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>
+
+       * tests/mainloop-test.c: use gsize instead of int where appropriate
+       (64-bit cleanliness fix)
+
 2002-09-29  Tor Lillqvist  <tml@iki.fi>
 
        * configure.in: Instead of forcing -fnative-struct into CFLAGS
index 25b33d4..ea4012c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>
+
+       * tests/mainloop-test.c: use gsize instead of int where appropriate
+       (64-bit cleanliness fix)
+
 2002-09-29  Tor Lillqvist  <tml@iki.fi>
 
        * configure.in: Instead of forcing -fnative-struct into CFLAGS
index 25b33d4..ea4012c 100644 (file)
@@ -1,3 +1,8 @@
+Sun Sep 29 12:15:44 2002  Manish Singh  <yosh@gimp.org>
+
+       * tests/mainloop-test.c: use gsize instead of int where appropriate
+       (64-bit cleanliness fix)
+
 2002-09-29  Tor Lillqvist  <tml@iki.fi>
 
        * configure.in: Instead of forcing -fnative-struct into CFLAGS
index ad81842..d407c53 100644 (file)
@@ -54,10 +54,10 @@ struct _TestData
 static void cleanup_crawlers (GMainContext *context);
 
 gboolean
-read_all (GIOChannel *channel, char *buf, int len)
+read_all (GIOChannel *channel, char *buf, gsize len)
 {
-  int bytes_read = 0;
-  int count;
+  gsize bytes_read = 0;
+  gsize count;
   GIOError err;
 
   while (bytes_read < len)
@@ -78,10 +78,10 @@ read_all (GIOChannel *channel, char *buf, int len)
 }
 
 gboolean
-write_all (GIOChannel *channel, char *buf, int len)
+write_all (GIOChannel *channel, char *buf, gsize len)
 {
-  int bytes_written = 0;
-  int count;
+  gsize bytes_written = 0;
+  gsize count;
   GIOError err;
 
   while (bytes_written < len)