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

dinput: Use BOOL type where appropriate.

parent e9f2fce1
...@@ -575,7 +575,7 @@ static DWORD semantic_to_obj_id(IDirectInputDeviceImpl* This, DWORD dwSemantic) ...@@ -575,7 +575,7 @@ static DWORD semantic_to_obj_id(IDirectInputDeviceImpl* This, DWORD dwSemantic)
DWORD type = (0x0000ff00 & dwSemantic) >> 8; DWORD type = (0x0000ff00 & dwSemantic) >> 8;
DWORD offset = 0x000000ff & dwSemantic; DWORD offset = 0x000000ff & dwSemantic;
DWORD obj_instance = 0; DWORD obj_instance = 0;
DWORD found = 0; BOOL found = FALSE;
int i; int i;
for (i = 0; i < This->data_format.wine_df->dwNumObjs; i++) for (i = 0; i < This->data_format.wine_df->dwNumObjs; i++)
...@@ -585,7 +585,7 @@ static DWORD semantic_to_obj_id(IDirectInputDeviceImpl* This, DWORD dwSemantic) ...@@ -585,7 +585,7 @@ static DWORD semantic_to_obj_id(IDirectInputDeviceImpl* This, DWORD dwSemantic)
if (odf->dwOfs == offset) if (odf->dwOfs == offset)
{ {
obj_instance = DIDFT_GETINSTANCE(odf->dwType); obj_instance = DIDFT_GETINSTANCE(odf->dwType);
found = 1; found = TRUE;
break; break;
} }
} }
......
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