summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/daemon.h2
-rw-r--r--daemon/guestfsd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 40a087de..77ee6281 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -36,7 +36,7 @@ extern int verbose;
extern int autosync_umount;
extern const char *sysroot;
-extern int sysroot_len;
+extern size_t sysroot_len;
extern char *sysroot_path (const char *path);
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index ac8750c1..448f3b45 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -103,7 +103,7 @@ winsock_init (void)
/* Location to mount root device. */
const char *sysroot = "/sysroot"; /* No trailing slash. */
-int sysroot_len = 8;
+size_t sysroot_len = 8;
/* If set (the default), do 'umount-all' when performing autosync. */
int autosync_umount = 1;