wfreerdp: fix build warnings

This commit is contained in:
Marc-André Moreau 2013-07-26 15:43:55 -04:00
parent 1307026a94
commit fdcf3a75be

View File

@ -664,8 +664,8 @@ void wf_gdi_register_update_callbacks(rdpUpdate* update)
{ {
rdpPrimaryUpdate* primary = update->primary; rdpPrimaryUpdate* primary = update->primary;
update->Palette = wf_gdi_palette_update; update->Palette = (pPalette) wf_gdi_palette_update;
update->SetBounds = wf_gdi_set_bounds; update->SetBounds = (pSetBounds) wf_gdi_set_bounds;
primary->DstBlt = (pDstBlt) wf_gdi_dstblt; primary->DstBlt = (pDstBlt) wf_gdi_dstblt;
primary->PatBlt = (pPatBlt) wf_gdi_patblt; primary->PatBlt = (pPatBlt) wf_gdi_patblt;
@ -690,8 +690,8 @@ void wf_gdi_register_update_callbacks(rdpUpdate* update)
primary->EllipseSC = NULL; primary->EllipseSC = NULL;
primary->EllipseCB = NULL; primary->EllipseCB = NULL;
update->SurfaceBits = wf_gdi_surface_bits; update->SurfaceBits = (pSurfaceBits) wf_gdi_surface_bits;
update->SurfaceFrameMarker = wf_gdi_surface_frame_marker; update->SurfaceFrameMarker = (pSurfaceFrameMarker) wf_gdi_surface_frame_marker;
} }
void wf_update_canvas_diff(wfContext* wfc) void wf_update_canvas_diff(wfContext* wfc)