From: <kr_...@us...> - 2003-01-30 23:09:50
|
Update of /cvsroot/htoolkit/port/src/cbits/Win32 In directory sc8-pr-cvs1:/tmp/cvs-serv13141/src/cbits/Win32 Modified Files: Menu.c Window.c Log Message: Types fix Index: Menu.c =================================================================== RCS file: /cvsroot/htoolkit/port/src/cbits/Win32/Menu.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Menu.c 23 Jan 2003 20:19:32 -0000 1.2 --- Menu.c 30 Jan 2003 23:09:47 -0000 1.3 *************** *** 97,101 **** }; ! MenuHandle osAddMenuItem(MenuHandle parent, int key, int mods, char *title) { UINT nMenuItemID = NextMenuItemID(); --- 97,101 ---- }; ! MenuHandle osAddMenuItem(MenuHandle parent, int key, unsigned int mods, char *title) { UINT nMenuItemID = NextMenuItemID(); *************** *** 108,112 **** }; ! MenuHandle osAddMenuCheckItem(MenuHandle parent, int key, int mods, char *title) { UINT nMenuItemID = NextMenuItemID(); --- 108,112 ---- }; ! MenuHandle osAddMenuCheckItem(MenuHandle parent, int key, unsigned int mods, char *title) { UINT nMenuItemID = NextMenuItemID(); *************** *** 134,138 **** }; ! void osSetMenuItemLabel(MenuHandle parent, MenuHandle item, int key, int mods, char* title) { MENUITEMINFO menuItemInfo; --- 134,138 ---- }; ! void osSetMenuItemLabel(MenuHandle parent, MenuHandle item, int key, unsigned int mods, char* title) { MENUITEMINFO menuItemInfo; Index: Window.c =================================================================== RCS file: /cvsroot/htoolkit/port/src/cbits/Win32/Window.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Window.c 23 Jan 2003 20:19:32 -0000 1.2 --- Window.c 30 Jan 2003 23:09:47 -0000 1.3 *************** *** 20,24 **** } WindowData; ! static int GetModifiers() { return (( GetAsyncKeyState (VK_SHIFT) ? shiftBIT : 0) | --- 20,24 ---- } WindowData; ! static unsigned int GetModifiers() { return (( GetAsyncKeyState (VK_SHIFT) ? shiftBIT : 0) | |