mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 00:06:01 +01:00
Use correct type
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
fdd843e116
commit
08b341d4f8
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ main(int argc, char* argv[])
|
||||||
|
|
||||||
/* Fork into the background if the user really wants to ... */
|
/* Fork into the background if the user really wants to ... */
|
||||||
if (forkback == true) {
|
if (forkback == true) {
|
||||||
const int pid = fork();
|
const pid_t pid = fork();
|
||||||
if (pid > 0) { /* parent */
|
if (pid > 0) { /* parent */
|
||||||
return 0;
|
return 0;
|
||||||
} else if (pid < 0) { /* error */
|
} else if (pid < 0) { /* error */
|
||||||
|
|
Loading…
Reference in a new issue