summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 8eee90de..f24266d4 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -1063,7 +1063,7 @@ if(mouse_b & 1)
if(d->d2==1)
{
//d->d1 = 1;
- (*(getfuncptr)d->dp)(NULL, d->d1);
+ (*(int(__cdecl *)(void *, int))d->dp)(NULL, d->d1);
masked_blit(gui_skin.plus.bg.grid[1], gui_bitmap, 0, 0, d->x, d->y, gui_bitmap->w, gui_bitmap->h);
draw = true;
} else {