summaryrefslogtreecommitdiff
path: root/image_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'image_windows.c')
-rw-r--r--image_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/image_windows.c b/image_windows.c
index 7e57bff..bcea3c4 100644
--- a/image_windows.c
+++ b/image_windows.c
@@ -28,7 +28,7 @@ HBITMAP toBitmap(void *i, intptr_t dx, intptr_t dy)
return bitmap;
}
-void freeBitmap(void *bitmap)
+void freeBitmap(uintptr_t bitmap)
{
if (DeleteObject((HBITMAP) bitmap) == 0)
xpanic("error deleting bitmap in freeBitmap()", GetLastError());