summaryrefslogtreecommitdiffstats
path: root/format/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format/format.c')
-rw-r--r--format/format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format/format.c b/format/format.c
index 13fe0ca8..06428e88 100644
--- a/format/format.c
+++ b/format/format.c
@@ -435,7 +435,7 @@ static int
do_rescan (char **devices)
{
size_t i;
- int errors = 0;
+ size_t errors = 0;
guestfs_error_handler_cb old_error_cb;
void *old_error_data;