aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gadc/gadc.c2
-rw-r--r--src/gwin/gwin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gadc/gadc.c b/src/gadc/gadc.c
index 183b9923..40b901ae 100644
--- a/src/gadc/gadc.c
+++ b/src/gadc/gadc.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/GFX - Copyright (C) 2012, 2013, 2013
+ ChibiOS/GFX - Copyright (C) 2012, 2013
Joel Bodenmann aka Tectu <joel@unormal.org>
This file is part of ChibiOS/GFX.
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: