mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-27 17:46:53 +02:00
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:
parent
dd373b4831
commit
f92ba4ece8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user