use gsize instead of int where appropriate (64-bit cleanliness fix)

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)
This commit is contained in:
Manish Singh 2002-09-29 19:16:31 +00:00 committed by Manish Singh
parent dd373b4831
commit f92ba4ece8
8 changed files with 41 additions and 6 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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)