From: Jan Andres Date: Sat, 31 Jan 2015 09:00:31 +0000 (+0100) Subject: processes: Solaris: Consistently use long to represent a pid X-Git-Tag: collectd-5.5.0~12^2~4^2~2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=469f54386a712ceb7bfe8ec8945bfc7d501d4e59;hp=469f54386a712ceb7bfe8ec8945bfc7d501d4e59;p=collectd.git 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. ---