mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[WIN32K:NTUSER] Fix type confusion in MsgMemorySize.
This commit is contained in:
parent
19318dcc1d
commit
7b2bb85ceb
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ static UINT FASTCALL
|
|||
MsgMemorySize(PMSGMEMORY MsgMemoryEntry, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
CREATESTRUCTW *Cs;
|
||||
PUNICODE_STRING WindowName;
|
||||
PLARGE_STRING WindowName;
|
||||
PUNICODE_STRING ClassName;
|
||||
UINT Size = 0;
|
||||
|
||||
|
@ -196,7 +196,7 @@ MsgMemorySize(PMSGMEMORY MsgMemoryEntry, WPARAM wParam, LPARAM lParam)
|
|||
case WM_CREATE:
|
||||
case WM_NCCREATE:
|
||||
Cs = (CREATESTRUCTW *) lParam;
|
||||
WindowName = (PUNICODE_STRING) Cs->lpszName;
|
||||
WindowName = (PLARGE_STRING) Cs->lpszName;
|
||||
ClassName = (PUNICODE_STRING) Cs->lpszClass;
|
||||
Size = sizeof(CREATESTRUCTW) + WindowName->Length + sizeof(WCHAR);
|
||||
if (IS_ATOM(ClassName->Buffer))
|
||||
|
|
Loading…
Reference in a new issue