Permalink
Browse files

illumos pid_t is not the same as int

  • Loading branch information...
1 parent 5fdc9b9 commit 97a30cee71d02af93c0a08847223fec023c9b38a Caleb James DeLisle committed Jun 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cjdroute.c
View
@@ -583,7 +583,7 @@ int main(int argc, char** argv)
errno);
return -1;
}
- fprintf(pf, "%d", getpid());
+ fprintf(pf, "%d", (int) getpid());
fclose(pf);
}

0 comments on commit 97a30ce

Please sign in to comment.