https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1b92120fc9263352d402e…
commit 1b92120fc9263352d402eb50bda93266fa542053
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sun Jan 20 11:09:54 2019 +0100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sun Jan 20 11:09:54 2019 +0100
[MDI] Fix GCC build
---
modules/rosapps/templates/mdi/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rosapps/templates/mdi/main.c b/modules/rosapps/templates/mdi/main.c
index 977a082350..6fa1d144e7 100644
--- a/modules/rosapps/templates/mdi/main.c
+++ b/modules/rosapps/templates/mdi/main.c
@@ -127,7 +127,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
hFont = CreateFont(-MulDiv(8,GetDeviceCaps(hdc,LOGPIXELSY),72), 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, _T("MS Sans Serif"));
ReleaseDC(0, hdc);
- hFrameWnd = CreateWindowEx(0, (LPCTSTR)hFrameWndClass, szTitle,
+ hFrameWnd = CreateWindowEx(0, (LPCTSTR)(ULONG_PTR)hFrameWndClass, szTitle,
// hFrameWnd = CreateWindow(szFrameClass, szTitle,
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,