... | ... |
@@ -310,7 +310,7 @@ error: |
310 | 310 |
void lock_cleanup() |
311 | 311 |
{ |
312 | 312 |
/* must check if someone uses them, for now just leave them allocated*/ |
313 |
- if (timer_group_lock) shm_free(timer_group_lock); |
|
313 |
+ if (timer_group_lock) shm_free((void*)timer_group_lock); |
|
314 | 314 |
} |
315 | 315 |
|
316 | 316 |
#else |