From 0f71730d1bd1e60b439a45e56d5e68423706c897 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 15 Oct 2013 09:56:21 +0000 Subject: [PATCH] smbd: Make loop index type match loop limit share_mode_data.num_share_modes is a uint32. 48 bytes less in .o text size for -O3 :-) Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- source3/smbd/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index fa7c4a0b0f..9c8b31d080 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1218,7 +1218,7 @@ static void find_oplock_types(files_struct *fsp, bool *got_no_oplock) { struct share_mode_data *d = lck->data; - int i; + uint32_t i; *pp_batch = NULL; *pp_ex_or_batch = NULL; -- 2.34.1