Author: greatlrd
Date: Fri Feb 16 19:48:54 2007
New Revision: 25816
URL:
http://svn.reactos.org/svn/reactos?rev=25816&view=rev
Log:
fixed all dam warings before some start nag on me
Modified:
trunk/rosapps/dxtest/win32kdxtest/main.c
trunk/rosapps/dxtest/win32kdxtest/test.h
Modified: trunk/rosapps/dxtest/win32kdxtest/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/dxtest/win32kdxtest/main.c…
==============================================================================
--- trunk/rosapps/dxtest/win32kdxtest/main.c (original)
+++ trunk/rosapps/dxtest/win32kdxtest/main.c Fri Feb 16 19:48:54 2007
@@ -106,7 +106,7 @@
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 @@
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 @@
show_status(fails, "NtGdiDdQueryDirectDrawObject\0");
-
- return retValue;
}
/*
@@ -159,8 +157,6 @@
testing_eq(retValue,TRUE,fails,"NtGdiDdDeleteDirectDrawObject(NULL);\0");
show_status(fails, "NtGdiDdDeleteDirectDrawObject\0");
-
- return retValue;
}
Modified: trunk/rosapps/dxtest/win32kdxtest/test.h
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/dxtest/win32kdxtest/test.h…
==============================================================================
--- trunk/rosapps/dxtest/win32kdxtest/test.h (original)
+++ trunk/rosapps/dxtest/win32kdxtest/test.h Fri Feb 16 19:48:54 2007
@@ -35,7 +35,7 @@
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 @@
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); \
}