Changelog: * dlls/imm32/imm.c, programs/winemenubuilder/winemenubuilder.c Remove some unnecessary casts when assigning NULL to handles. Index: dlls/imm32/imm.c =================================================================== RCS file: /home/wine/wine/dlls/imm32/imm.c,v retrieving revision 1.23 diff -u -r1.23 imm.c --- dlls/imm32/imm.c 30 Jun 2003 20:53:49 -0000 1.23 +++ dlls/imm32/imm.c 1 Jul 2003 22:09:36 -0000 @@ -46,7 +46,7 @@ } InputContextData; static InputContextData *root_context = NULL; -static HWND hwndDefault = (HWND)NULL; +static HWND hwndDefault = NULL; static HANDLE hImeInst; static const WCHAR WC_IMECLASSNAME[] = {'W','i','n','e','I','M','E','C','l','a','s','s',0}; @@ -68,7 +68,7 @@ wndClass.lpfnWndProc = IME_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = 0; - wndClass.hCursor = (HCURSOR)NULL; + wndClass.hCursor = NULL; wndClass.hbrBackground = (HBRUSH)(COLOR_WINDOW +1); wndClass.lpszClassName = WC_IMECLASSNAME; RegisterClassW(&wndClass); @@ -76,7 +76,7 @@ static void IMM_Unregister(void) { - UnregisterClassW(WC_IMECLASSNAME, (HINSTANCE)NULL); + UnregisterClassW(WC_IMECLASSNAME, NULL); } Index: programs/winemenubuilder/winemenubuilder.c =================================================================== RCS file: /home/wine/wine/programs/winemenubuilder/winemenubuilder.c,v retrieving revision 1.2 diff -u -r1.2 winemenubuilder.c --- programs/winemenubuilder/winemenubuilder.c 18 Jun 2003 19:45:22 -0000 1.2 +++ programs/winemenubuilder/winemenubuilder.c 1 Jul 2003 22:09:43 -0000 @@ -253,7 +253,7 @@ } else { - hResInfo=(HRSRC)NULL; + hResInfo=NULL; sEnumRes.pResInfo = &hResInfo; sEnumRes.nIndex = nIndex; EnumResourceNamesA(hModule, RT_GROUP_ICONA, &EnumResNameProc, (LONG) &sEnumRes); -- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ Stolen from an Internet user: "f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng !"