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)
This commit is contained in:
Matthias Clasen
2006-12-28 04:48:06 +00:00
committed by Matthias Clasen
parent f678ea9725
commit 98d552e0cd
9 changed files with 49 additions and 37 deletions

View File

@@ -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)
{