From fdcf3a75be70b4bd183584f430c05aaa8d6a4605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Fri, 26 Jul 2013 15:43:55 -0400 Subject: [PATCH] wfreerdp: fix build warnings --- client/Windows/wf_gdi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/Windows/wf_gdi.c b/client/Windows/wf_gdi.c index 41fae28d0..7b497cf82 100644 --- a/client/Windows/wf_gdi.c +++ b/client/Windows/wf_gdi.c @@ -664,8 +664,8 @@ void wf_gdi_register_update_callbacks(rdpUpdate* update) { rdpPrimaryUpdate* primary = update->primary; - update->Palette = wf_gdi_palette_update; - update->SetBounds = wf_gdi_set_bounds; + update->Palette = (pPalette) wf_gdi_palette_update; + update->SetBounds = (pSetBounds) wf_gdi_set_bounds; primary->DstBlt = (pDstBlt) wf_gdi_dstblt; primary->PatBlt = (pPatBlt) wf_gdi_patblt; @@ -690,8 +690,8 @@ void wf_gdi_register_update_callbacks(rdpUpdate* update) primary->EllipseSC = NULL; primary->EllipseCB = NULL; - update->SurfaceBits = wf_gdi_surface_bits; - update->SurfaceFrameMarker = wf_gdi_surface_frame_marker; + update->SurfaceBits = (pSurfaceBits) wf_gdi_surface_bits; + update->SurfaceFrameMarker = (pSurfaceFrameMarker) wf_gdi_surface_frame_marker; } void wf_update_canvas_diff(wfContext* wfc)