summaryrefslogtreecommitdiff
path: root/image_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-17 22:17:58 -0500
committerPietro Gagliardi <[email protected]>2015-02-17 22:17:58 -0500
commit1fd265135d17d682b3e0f884502ffa2037a379ae (patch)
treedede7dca0e36061c115ccb5b92881af21d87e0d0 /image_windows.c
parent56042ac3b3a56915524ed133cf6d8df926dfaec1 (diff)
Fixed the other build errors. Awesome, Go's linker won't recognize the COM IIDs in uuid.dll; guess we're bumping the minimum required version of Go, maybe?...
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());