From 1fd265135d17d682b3e0f884502ffa2037a379ae Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 17 Feb 2015 22:17:58 -0500 Subject: 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?... --- image_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image_windows.c') 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()); -- cgit v1.2.3