diff options
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index 091dd2527ee2..d4a6a4168a1b 100644 --- a/embedserv/source/embed/docholder.cxx +++ b/embedserv/source/embed/docholder.cxx @@ -511,7 +511,7 @@ void CopyToOLEMenu(HMENU hOrig,WORD origPos,HMENU hDest,WORD destPos) subMenu = GetSubMenu(hOrig,origPos); GetMenuString(hOrig,origPos,buffer,256,MF_BYPOSITION); InsertMenu(hDest,destPos,uTemp, - (UINT)subMenu,LPCTSTR(buffer)); + reinterpret_cast<UINT_PTR>(subMenu),LPCTSTR(buffer)); MENUITEMINFOW mi; memset(&mi,0,sizeof(mi)); |