stress.dll16: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Sat Nov 23 17:05:12 CST 2013


---
 dlls/stress.dll16/stress.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/dlls/stress.dll16/stress.c b/dlls/stress.dll16/stress.c
index c97a1b2..be292d9 100644
--- a/dlls/stress.dll16/stress.c
+++ b/dlls/stress.dll16/stress.c
@@ -54,8 +54,7 @@ INT16 WINAPI AllocFileHandles(INT16 Left)
 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
 {
 	TRACE("(%d) - stub\n", uLeft);
-
-	return 1;
+        return TRUE;
 }
 
 /***********************************************************************
@@ -64,8 +63,7 @@ BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
 BOOL16 WINAPI AllocMem(DWORD dwLeft)
 {
 	FIXME("(%d) - stub\n", dwLeft);
-
-	return 1;
+        return TRUE;
 }
 
 /***********************************************************************
@@ -74,8 +72,7 @@ BOOL16 WINAPI AllocMem(DWORD dwLeft)
 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
 {
 	TRACE("AllocUserMem %d\n", uContig);
-
-	return 1;
+        return TRUE;
 }
 
 /***********************************************************************
-- 
1.8.4.4




More information about the wine-patches mailing list