Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/FreeRDP-WebConnect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'wsgate/Update.cpp')
-rw-r--r--wsgate/Update.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/wsgate/Update.cpp b/wsgate/Update.cpp
index 605ac7b..1714b72 100644
--- a/wsgate/Update.cpp
+++ b/wsgate/Update.cpp
@@ -41,18 +41,18 @@ namespace wsgate {
void Update::Register(freerdp *rdp) {
log::debug << __PRETTY_FUNCTION__ << endl;
- rdp->update->BeginPaint = cbBeginPaint;
- rdp->update->EndPaint = cbEndPaint;
- rdp->update->SetBounds = cbSetBounds;
- rdp->update->Synchronize = cbSynchronize;
- rdp->update->DesktopResize = cbDesktopResize;
- rdp->update->BitmapUpdate = cbBitmapUpdate;
- rdp->update->Palette = cbPalette;
- rdp->update->PlaySound = cbPlaySound;
- rdp->update->SurfaceBits = cbSurfaceBits;
-
- rdp->update->RefreshRect = cbRefreshRect;
- rdp->update->SuppressOutput = cbSuppressOutput;
+ rdp->update->BeginPaint = reinterpret_cast<pBeginPaint>(cbBeginPaint);
+ rdp->update->EndPaint = reinterpret_cast<pEndPaint>(cbEndPaint);
+ rdp->update->SetBounds = reinterpret_cast<pSetBounds>(cbSetBounds);
+ rdp->update->Synchronize = reinterpret_cast<pSynchronize>(cbSynchronize);
+ rdp->update->DesktopResize = reinterpret_cast<pDesktopResize>(cbDesktopResize);
+ rdp->update->BitmapUpdate = reinterpret_cast<pBitmapUpdate>(cbBitmapUpdate);
+ rdp->update->Palette = reinterpret_cast<pPalette>(cbPalette);
+ rdp->update->PlaySound = reinterpret_cast<pPlaySound>(cbPlaySound);
+ rdp->update->SurfaceBits = reinterpret_cast<pSurfaceBits>(cbSurfaceBits);
+
+ rdp->update->RefreshRect = reinterpret_cast<pRefreshRect>(cbRefreshRect);
+ rdp->update->SuppressOutput = reinterpret_cast<pSuppressOutput>(cbSuppressOutput);
}
void Update::BeginPaint(rdpContext*) {