@@ -149,7 +149,7 @@ DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
#-DNO_LOG
#PROFILE= -pg #set this if you want profiling
-mode = debug
+#mode = debug
ifeq ($(mode),)
mode = release
endif
@@ -310,7 +310,7 @@ error:
void lock_cleanup()
{
/* must check if someone uses them, for now just leave them allocated*/
- if (timer_group_lock) shm_free(timer_group_lock);
+ if (timer_group_lock) shm_free((void*)timer_group_lock);
}
#else