=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: stress.dll16: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Mon Nov 25 13:33:15 CST 2013


Module: wine
Branch: master
Commit: d5b0232b04c70e4aa8d1e6c7fd35c65240733e84
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d5b0232b04c70e4aa8d1e6c7fd35c65240733e84

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sun Nov 24 00:05:12 2013 +0100

stress.dll16: Use BOOL type where appropriate.

---

 dlls/stress.dll16/stress.c |    9 +++------
 1 files 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;
 }
 
 /***********************************************************************




More information about the wine-cvs mailing list