mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
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 <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
388bf3643d
commit
0f71730d1b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user