diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-03-13 08:23:56 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-13 08:23:56 +0000 |
commit | f76a88011a993d059beafe090a21a20be1cb9f4d (patch) | |
tree | 4fb7d5802ec2dc03912660a041a1b3166c1a8a2d /daemon/readdir.c | |
parent | 14df5fa5d1731a502332e9d4a41f54ee3d4a4dac (diff) | |
download | libguestfs-f76a88011a993d059beafe090a21a20be1cb9f4d.tar.gz libguestfs-f76a88011a993d059beafe090a21a20be1cb9f4d.tar.xz libguestfs-f76a88011a993d059beafe090a21a20be1cb9f4d.zip |
Replace 'int' with 'size_t' passim.
Analyze all uses of 'int' in the code, and replace with 'size_t' where
appropriate.
Diffstat (limited to 'daemon/readdir.c')
-rw-r--r-- | daemon/readdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/readdir.c b/daemon/readdir.c index b8f5fea8..f0ddd219 100644 --- a/daemon/readdir.c +++ b/daemon/readdir.c @@ -34,7 +34,7 @@ do_readdir (const char *path) guestfs_int_dirent v; DIR *dir; struct dirent *d; - int i; + size_t i; ret = malloc (sizeof *ret); if (ret == NULL) { |