author | Jan Andres <jandres@gmx.net> | |
Sat, 31 Jan 2015 09:00:31 +0000 (10:00 +0100) | ||
committer | Jan Andres <jandres@gmx.net> | |
Sat, 31 Jan 2015 09:16:48 +0000 (10:16 +0100) | ||
commit | 6a62aeaa7bb71f5488dc76842d627bc8fd3c2eb4 | |
tree | c2aabdc7648a9e72b3f0c106a537ba8f686a86c0 | tree | snapshot |
parent | 7f117256e973afd936ee37221a4c588d7b7208ec | commit | diff |
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.
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 | diff | blob | history |