Use correct type

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2015-10-07 21:11:39 +02:00
parent fdd843e116
commit 08b341d4f8

View file

@ -151,7 +151,7 @@ main(int argc, char* argv[])
/* Fork into the background if the user really wants to ... */
if (forkback == true) {
const int pid = fork();
const pid_t pid = fork();
if (pid > 0) { /* parent */
return 0;
} else if (pid < 0) { /* error */