Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
use gsize instead of int where appropriate (64-bit cleanliness fix)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
yosh authored and Manish Singh committed Sep 29, 2002
1 parent dd373b4 commit f92ba4e
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 6 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.pre-2-10
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.pre-2-12
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.pre-2-2
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.pre-2-4
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.pre-2-6
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog.pre-2-8
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 6 additions & 6 deletions tests/mainloop-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit f92ba4e

Please sign in to comment.