[PATCH 02/10] gdi32: Use DC_ATTR for GetCurrentPositionEx implementation.
Huw Davies
huw at codeweavers.com
Tue Jul 20 01:58:05 CDT 2021
On Mon, Jul 19, 2021 at 11:25:08PM +0200, Jacek Caban wrote:
> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
> ---
> dlls/gdi32/dc.c | 13 -------------
> dlls/gdi32/gdidc.c | 11 +++++++++++
> dlls/gdi32/tests/metafile.c | 3 +++
> 3 files changed, 14 insertions(+), 13 deletions(-)
This is failing to build:
dlls/gdi32/gdidc.c: In function ‘GetCurrentPositionEx’:
dlls/gdi32/gdidc.c:34:21: warning: implicit declaration of function ‘get_dc_attr’ [-Wimplicit-function-declaration]
34 | if (!(dc_attr = get_dc_attr( hdc ))) return FALSE;
| ^~~~~~~~~~~
dlls/gdi32/gdidc.c:34:19: warning: assignment to ‘DC_ATTR *’ {aka ‘struct DC_ATTR *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
34 | if (!(dc_attr = get_dc_attr( hdc ))) return FALSE;
| ^
Huw.
More information about the wine-devel
mailing list