From a2cb02abbf2e3cb8659050fec3576f59b4d2f5e3 Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Fri, 8 Mar 2013 00:52:33 +1000 Subject: [PATCH] Fix compiler warning --- src/gwin/gwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c index 33637d89..d7fb5726 100644 --- a/src/gwin/gwin.c +++ b/src/gwin/gwin.c @@ -109,7 +109,7 @@ void gwinDestroyWindow(GHandle gh) { chHeapFree((void *)((GButtonObject *)gh)->txt); } geventDetachSource(&((GButtonObject *)gh)->listener, 0); - geventDetachSourceListeners((GSourceHandle *)gh); + geventDetachSourceListeners((GSourceHandle)gh); break; #endif default: