processes: Solaris: Consistently use long to represent a pid
authorJan Andres <jandres@gmx.net>
Sat, 31 Jan 2015 09:00:31 +0000 (10:00 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 19 May 2015 15:43:35 +0000 (17:43 +0200)
commit469f54386a712ceb7bfe8ec8945bfc7d501d4e59
treede907367706097794e6e75ab3f0b9e7830730320
parent242924c08dba2b8ffce9d82a38235f6d6710a136
processes: Solaris: Consistently use long to represent a pid

pid_t may be defined as an int or a long depending on circumstances.
Use a long everywhere so we don't have to fiddle with typecasts.

This fixes an issue where an incorrect printf format string would
be used for a pid_t in 32-bit builds.
src/processes.c