From fc88f2e0e4326519c00b1f6deb34eef9030099e4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 30 Oct 2020 15:43:03 +0100 Subject: [PATCH] vfs_error_inject: Align integer types Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/modules/vfs_error_inject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/modules/vfs_error_inject.c b/source3/modules/vfs_error_inject.c index 04880ffd5ab..b0fbb652d65 100644 --- a/source3/modules/vfs_error_inject.c +++ b/source3/modules/vfs_error_inject.c @@ -34,7 +34,7 @@ struct unix_error_map { static int find_unix_error_from_string(const char *err_str) { - int i; + size_t i; for (i = 0; i < ARRAY_SIZE(unix_error_map_array); i++) { struct unix_error_map *m = &unix_error_map_array[i]; -- 2.47.3