Alex Henrie : nsi: Use a whole byte for each nsi_ip_neighbour_dynamic flag.

Alexandre Julliard julliard at winehq.org
Fri Dec 10 15:07:51 CST 2021


Module: wine
Branch: master
Commit: cba1faeef76b411e60c34db44986ca9f9ad56e5f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=cba1faeef76b411e60c34db44986ca9f9ad56e5f

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Wed Dec  8 23:12:04 2021 -0700

nsi: Use a whole byte for each nsi_ip_neighbour_dynamic flag.

Fixes the failure of the test at dlls/nsi/tests/nsi.c:679 on certain
testbot machines.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/wine/nsi.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/wine/nsi.h b/include/wine/nsi.h
index 8c3488dc19c..b8e59c7bf54 100644
--- a/include/wine/nsi.h
+++ b/include/wine/nsi.h
@@ -226,8 +226,8 @@ struct nsi_ip_neighbour_dynamic
     DWORD time;
     struct
     {
-        USHORT is_router : 1;
-        USHORT is_unreachable : 1;
+        BOOLEAN is_router;
+        BOOLEAN is_unreachable;
     } flags;
     USHORT phys_addr_len;
     DWORD unk;




More information about the wine-cvs mailing list