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
/
bu_utils
/
fms.c
diff --git
a/src/bu_utils/fms.c
b/src/bu_utils/fms.c
index
8939e06
..
74fc60b
100644
(file)
--- a/
src/bu_utils/fms.c
+++ b/
src/bu_utils/fms.c
@@
-59,7
+59,7
@@
main(int argc, char **argv)
struct sigaction intaction, oldaction;
struct cmd_syndesc *cptr;
- memset((char *)&intaction, 0, sizeof(intaction));
+ memset(&intaction, 0, sizeof(intaction));
intaction.sa_handler = quitFms;
sigaction(SIGINT, &intaction, &oldaction);