git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
lwp: Don't cast returns from malloc()
[openafs.git]
/
src
/
lwp
/
timer.c
diff --git
a/src/lwp/timer.c
b/src/lwp/timer.c
index
cad63b4
..
b917294
100644
(file)
--- a/
src/lwp/timer.c
+++ b/
src/lwp/timer.c
@@
-37,7
+37,7
@@
typedef unsigned char bool;
#define expiration TotalTime
-#define new_elem() ((struct TM_Elem *) malloc(sizeof(struct TM_Elem)))
+#define new_elem() (malloc(sizeof(struct TM_Elem)))
#define MILLION 1000000