Browse Source

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

Andrei Pelinescu-Onciul 23 years ago
parent
commit
0a365d549b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Makefile.defs
  2. 1 1
      modules/tm/lock.c

+ 1 - 1
Makefile.defs

@@ -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

+ 1 - 1
modules/tm/lock.c

@@ -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