From: Volker Lendecke Date: Tue, 1 Oct 2024 13:35:25 +0000 (+0200) Subject: libsmb: Fix a "cast increases required alignment" warning X-Git-Tag: tdb-1.4.13~549 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dc89edf9ca3eae80edea32b86c078fb660dbae6;p=thirdparty%2Fsamba.git libsmb: Fix a "cast increases required alignment" warning Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 812050d7e64..c7da7a1b14c 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -6648,7 +6648,7 @@ NTSTATUS cli_posix_rmdir(struct cli_state *cli, const char *fname) struct cli_notify_state { struct tevent_req *subreq; - uint8_t setup[8]; + uint16_t setup[4]; uint32_t num_changes; struct notify_change *changes; };