Don't cast the pointer past to memset
[openafs.git] / src / bu_utils / fms.c
index 8939e06..74fc60b 100644 (file)
@@ -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);