summaryrefslogtreecommitdiff
path: root/tests/timeloop-basic.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-12-28 04:48:06 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-12-28 04:48:06 +0000
commit98d552e0cd0479ec373055eefc11716d2927936e (patch)
treeba95c7e2a42c85adec853355db446b465c5a0083 /tests/timeloop-basic.c
parentf678ea9725f06d3954f163e627ce9703488021a1 (diff)
downloadglib-98d552e0cd0479ec373055eefc11716d2927936e.tar.gz
Consistently use gsize rather than size_t. (#333310, Morten Welinder)
2006-12-27 Matthias Clasen <mclasen@redhat.com> * glib/gconvert.[hc]: * glib/gfileutils.c: * glib/giochannel.c: * glib/goption.c: * glib/gspawn.c: * glib/gunicollate.c: * glib/gutils.c: * tests/timeloop-basic.c: Consistently use gsize rather than size_t. (#333310, Morten Welinder)
Diffstat (limited to 'tests/timeloop-basic.c')
-rw-r--r--tests/timeloop-basic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/timeloop-basic.c b/tests/timeloop-basic.c
index 56861f33e..6ca291d50 100644
--- a/tests/timeloop-basic.c
+++ b/tests/timeloop-basic.c
@@ -33,8 +33,8 @@ my_pipe (int *fds)
int
read_all (int fd, char *buf, int len)
{
- size_t bytes_read = 0;
- ssize_t count;
+ gsize bytes_read = 0;
+ gssize count;
while (bytes_read < len)
{
@@ -56,8 +56,8 @@ read_all (int fd, char *buf, int len)
int
write_all (int fd, char *buf, int len)
{
- size_t bytes_written = 0;
- ssize_t count;
+ gsize bytes_written = 0;
+ gssize count;
while (bytes_written < len)
{