Cast pid_t to long long when printing
authorUlf Hermann <ulf.hermann@qt.io>
Fri, 18 Aug 2017 15:20:02 +0000 (17:20 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 18 Aug 2017 21:51:58 +0000 (23:51 +0200)
commit760925bc7b43814d30ee4e0396709fe8a3f66cd6
tree25b2b314e128046713d1e6eb0ef94f396252c0fc
parente3d869ece3d92716b5eba3563ecfea679667fe2e
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>
src/ChangeLog
src/stack.c