Browse Source

Remove cast of int* to int*

OPENBSD_5_9
guenther 8 years ago
parent
commit
8924f66047
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/stdlib/system.c

+ 2
- 2
src/lib/libc/stdlib/system.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: system.c,v 1.9 2015/09/13 08:31:48 guenther Exp $ */
/* $OpenBSD: system.c,v 1.10 2015/09/14 08:51:07 guenther Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
* All rights reserved.
@ -66,7 +66,7 @@ system(const char *command)
intsave = signal(SIGINT, SIG_IGN);
quitsave = signal(SIGQUIT, SIG_IGN);
pid = waitpid(pid, (int *)&pstat, 0);
pid = waitpid(pid, &pstat, 0);
sigprocmask(SIG_SETMASK, &omask, NULL);
(void)signal(SIGINT, intsave);
(void)signal(SIGQUIT, quitsave);


Loading…
Cancel
Save