From 3bcbfacc5c2961d2ad9271165c63fbdcc90bf1d4 Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Thu, 7 Mar 2013 23:55:12 +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 e449b830..36933e5e 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: