sync with trunk r46493
[reactos.git] / dll / win32 / avicap32 / avicap32.c
index 7220f7a..f4ed19b 100644 (file)
@@ -86,7 +86,7 @@ capCreateCaptureWindowW(LPCWSTR lpszWindowName,
                            nWidth,
                            nHeight,
                            hWnd,
-                           (HMENU)nID,
+                           ULongToHandle(nID),
                            hInstance,
                            NULL);
 }