https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1f792413f02f2a1246b4f…
commit 1f792413f02f2a1246b4fb0b75c6389312fe1c45
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Aug 18 19:59:35 2021 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Wed Aug 18 19:59:35 2021 +0900
[NTUSER][INCLUDE] s/TransMsg[1]/TransMsg[ANYSIZE_ARRAY]/
CORE-11700
---
win32ss/include/ntuser.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h
index 56a55ca8fa3..f1832446f5c 100644
--- a/win32ss/include/ntuser.h
+++ b/win32ss/include/ntuser.h
@@ -1221,7 +1221,7 @@ typedef struct tagTRANSMSG
typedef struct tagTRANSMSGLIST
{
UINT uMsgCount;
- TRANSMSG TransMsg[1];
+ TRANSMSG TransMsg[ANYSIZE_ARRAY];
} TRANSMSGLIST, *PTRANSMSGLIST, *LPTRANSMSGLIST;
#define DEFINE_IME_ENTRY(type, name, params, extended) typedef type (WINAPI *FN_##name)
params;