From 79ccb7889c86367c40c994b5ef73a0f4adcce118 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Thu, 1 Nov 2007 18:05:39 +0100 Subject: [PATCH] dinput: Fix type of loop variable in alloc_device(). --- dlls/dinput/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dinput/mouse.c b/dlls/dinput/mouse.c index 214bbd857a1..35ddc0bc94e 100644 --- a/dlls/dinput/mouse.c +++ b/dlls/dinput/mouse.c @@ -173,7 +173,7 @@ static SysMouseImpl *alloc_device(REFGUID rguid, const void *mvt, IDirectInputIm { SysMouseImpl* newDevice; LPDIDATAFORMAT df = NULL; - int i; + unsigned i; newDevice = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(SysMouseImpl)); if (!newDevice) return NULL;