Process ids (pids) are not necessary in "short" range, they might be larger (and are in SLES 10 e.g.)
Fix is simple and attached.
Thanks for this Patch. Can you also please send Patches regarding the same issue for other tests. I guess there should be many.
there aactually are not ...
there are various uses of "int" as type of pid, but this is harmless and should be more future proof.
I saw no other "short" uses for pid.