]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Fix a "cast increases required alignment" warning
authorVolker Lendecke <vl@samba.org>
Tue, 1 Oct 2024 13:35:25 +0000 (15:35 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 12:09:35 +0000 (12:09 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/clifile.c

index 812050d7e640d0e84dd812e505061f83fb9a88d4..c7da7a1b14c4be701ec037a254af40774a91a744 100644 (file)
@@ -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;
 };