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 0cf010ab..40e53c52 100644
--- a/format/format.c
+++ b/format/format.c
@@ -424,7 +424,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;