dinput: Fix type of loop variable in alloc_device().

This commit is contained in:
Gerald Pfeifer 2007-11-01 18:05:39 +01:00 committed by Alexandre Julliard
parent e403292e5a
commit 79ccb7889c
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ static SysMouseImpl *alloc_device(REFGUID rguid, const void *mvt, IDirectInputIm
{ {
SysMouseImpl* newDevice; SysMouseImpl* newDevice;
LPDIDATAFORMAT df = NULL; LPDIDATAFORMAT df = NULL;
int i; unsigned i;
newDevice = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(SysMouseImpl)); newDevice = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(SysMouseImpl));
if (!newDevice) return NULL; if (!newDevice) return NULL;