fixed all dam warings before some start nag on me

svn path=/trunk/; revision=25816
This commit is contained in:
Magnus Olsen 2007-02-16 16:48:54 +00:00
parent 11e0777755
commit a20e414f6a
2 changed files with 4 additions and 8 deletions

View file

@ -106,7 +106,7 @@ test_NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal)
puD3dTextureFormats, puNumHeaps,
puvmList, puNumFourCC,
puFourCC);
testing_noteq(retValue,NULL,fails,"1. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
testing_noteq(retValue,0,fails,"1. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
testing_noteq(pHalInfo,NULL,fails,"2. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
testing_noteq(pCallBackFlags,NULL,fails,"3. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
testing_noteq(puD3dCallbacks,NULL,fails,"4. NtGdiDdQueryDirectDrawObject(NULL, ...);\0");
@ -123,7 +123,7 @@ test_NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal)
puvmList, puNumFourCC,
puFourCC);
testing_noteq(retValue,NULL,fails,"1. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
testing_noteq(retValue,0,fails,"1. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
testing_noteq(pHalInfo,NULL,fails,"2. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
testing_noteq(pCallBackFlags,NULL,fails,"3. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
testing_noteq(puD3dCallbacks,NULL,fails,"4. NtGdiDdQueryDirectDrawObject(hDirectDrawLocal, NULL, ...);\0");
@ -137,8 +137,6 @@ test_NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal)
show_status(fails, "NtGdiDdQueryDirectDrawObject\0");
return retValue;
}
/*
@ -159,8 +157,6 @@ test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
testing_eq(retValue,TRUE,fails,"NtGdiDdDeleteDirectDrawObject(NULL);\0");
show_status(fails, "NtGdiDdDeleteDirectDrawObject\0");
return retValue;
}

View file

@ -35,7 +35,7 @@ BOOL NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal, DD_HALINFO *pHalInfo
if (input == value) \
{ \
counter++; \
printf("FAIL ret=%s, %d != %d )\n",text,input,value); \
printf("FAIL ret=%s, %d != %d )\n",text,(int)input,(int)value); \
}
@ -43,7 +43,7 @@ BOOL NtGdiDdQueryDirectDrawObject( HANDLE hDirectDrawLocal, DD_HALINFO *pHalInfo
if (input != value) \
{ \
counter++; \
printf("FAIL ret=%s, %d == %d )\n",text,input,value); \
printf("FAIL ret=%s, %d == %d )\n",text,(int)input,(int)value); \
}