summaryrefslogtreecommitdiffstats
path: root/daemon/readdir.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-13 08:23:56 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-13 08:23:56 +0000
commitf76a88011a993d059beafe090a21a20be1cb9f4d (patch)
tree4fb7d5802ec2dc03912660a041a1b3166c1a8a2d /daemon/readdir.c
parent14df5fa5d1731a502332e9d4a41f54ee3d4a4dac (diff)
downloadlibguestfs-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.c2
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) {