git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't cast the pointer past to memset
[openafs.git]
/
src
/
lwp
/
test
/
selsubs.c
diff --git
a/src/lwp/test/selsubs.c
b/src/lwp/test/selsubs.c
index
2cba547
..
0304c8b
100644
(file)
--- a/
src/lwp/test/selsubs.c
+++ b/
src/lwp/test/selsubs.c
@@
-39,7
+39,7
@@
fd_set *
IOMGR_AllocFDSet(void)
{
fd_set *tmp = (fd_set *) malloc(sizeof(fd_set));
- memset((char *)tmp, 0, sizeof(fd_set));
+ memset(tmp, 0, sizeof(fd_set));
return tmp;
}