[Bug 15388] gdi32: dib.c fails to build with gcc 4.2, -Werror -O3

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 29 23:11:38 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=15388





--- Comment #6 from Nikolay Sivov <bunglehead at gmail.com>  2008-09-29 23:11:38 ---
(In reply to comment #5)
> Created an attachment (id=16377)
 --> (http://bugs.winehq.org/attachment.cgi?id=16377) [details]
> new patch
> 
> This what you had in mind?
> 

Yes, but why are you duplicating a call? You could just use a result of
existing one:

DIB_GetBitmapInfo(bi, &width, &height, &planes, &bpp, &compr, &size);

+ if (DIB_GetBitmapInfo( bi, &width, &height, &planes, &bpp, &compr, &size ) ==
-1) return 0;


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list