commit | 760925bc7b43814d30ee4e0396709fe8a3f66cd6 | [log] [tgz] |
---|---|---|
author | Ulf Hermann <ulf.hermann@qt.io> | Fri Aug 18 17:20:02 2017 +0200 |
committer | Mark Wielaard <mark@klomp.org> | Fri Aug 18 23:51:58 2017 +0200 |
tree | 25b2b314e128046713d1e6eb0ef94f396252c0fc | |
parent | e3d869ece3d92716b5eba3563ecfea679667fe2e [diff] |
Cast pid_t to long long when printing We don't know sizeof(pid_t) as it's not specified in any standard. In order to still print it, we cast to long long, the largest integer type we can easily print. Signed-off-by: Ulf Hermann <ulf.hermann@qt.io> Signed-off-by: Mark Wielaard <mark@klomp.org>