Commit 1c4456f7 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

user.exe16: Use BOOL type where appropriate.

parent e0e7a077
...@@ -83,7 +83,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(comm); ...@@ -83,7 +83,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(comm);
struct DosDeviceStruct { struct DosDeviceStruct {
HANDLE handle; HANDLE handle;
int suspended; BOOL suspended;
int unget,xmit; int unget,xmit;
int evtchar; int evtchar;
/* events */ /* events */
...@@ -577,7 +577,7 @@ INT16 WINAPI SetCommBreak16(INT16 cid) ...@@ -577,7 +577,7 @@ INT16 WINAPI SetCommBreak16(INT16 cid)
return -1; return -1;
} }
ptr->suspended = 1; ptr->suspended = TRUE;
ptr->commerror = 0; ptr->commerror = 0;
return 0; return 0;
} }
...@@ -594,7 +594,7 @@ INT16 WINAPI ClearCommBreak16(INT16 cid) ...@@ -594,7 +594,7 @@ INT16 WINAPI ClearCommBreak16(INT16 cid)
FIXME("no cid=%d found!\n", cid); FIXME("no cid=%d found!\n", cid);
return -1; return -1;
} }
ptr->suspended = 0; ptr->suspended = FALSE;
ptr->commerror = 0; ptr->commerror = 0;
return 0; return 0;
} }
......
...@@ -2792,7 +2792,7 @@ DWORD WINAPI DumpIcon16( SEGPTR pInfo, WORD *lpLen, ...@@ -2792,7 +2792,7 @@ DWORD WINAPI DumpIcon16( SEGPTR pInfo, WORD *lpLen,
*/ */
static BOOL DRAG_QueryUpdate16( HWND hQueryWnd, SEGPTR spDragInfo ) static BOOL DRAG_QueryUpdate16( HWND hQueryWnd, SEGPTR spDragInfo )
{ {
BOOL bResult = 0; BOOL bResult;
WPARAM wParam; WPARAM wParam;
POINT pt, old_pt; POINT pt, old_pt;
LPDRAGINFO16 ptrDragInfo = MapSL(spDragInfo); LPDRAGINFO16 ptrDragInfo = MapSL(spDragInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment