summaryrefslogtreecommitdiffstats
path: root/src/d3denum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d3denum.cpp')
-rw-r--r--src/d3denum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d3denum.cpp b/src/d3denum.cpp
index 46497d8..9180b20 100644
--- a/src/d3denum.cpp
+++ b/src/d3denum.cpp
@@ -179,7 +179,7 @@ static HRESULT WINAPI DeviceEnumCallback( TCHAR* strDesc, TCHAR* strName,
return D3DENUMRET_OK;
// Find a 640x480x16 mode for the default fullscreen mode
- for( i=0; i<pDeviceInfo->dwNumModes; i++ )
+ for(DWORD i=0; i<pDeviceInfo->dwNumModes; i++ )
{
if( ( pDeviceInfo->pddsdModes[i].dwWidth == 640 ) &&
( pDeviceInfo->pddsdModes[i].dwHeight == 480 ) &&