Browse code

- fixed a typo preventing compilation - fixed a warning in tm

Andrei Pelinescu-Onciul authored on 24/10/2002 15:03:41
Showing 2 changed files
... ...
@@ -149,7 +149,7 @@ DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
149 149
 	 #-DNO_LOG
150 150
 
151 151
 #PROFILE=  -pg #set this if you want profiling
152
-mode = debug
152
+#mode = debug
153 153
 ifeq ($(mode),)
154 154
 	mode = release
155 155
 endif
... ...
@@ -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