We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc0c7f3 commit 918d35cCopy full SHA for 918d35c
2 files changed
common/pid.c
@@ -39,7 +39,7 @@ npid_t PID;
39
void init_common_PID (void) {
40
if (!PID.pid) {
41
int p = getpid ();
42
- assert (!(p & 0xffff0000));
+ assert (!(p & 0x80000000));
43
PID.pid = p;
44
}
45
if (!PID.utime) {
common/pid.h
@@ -29,14 +29,14 @@
29
struct process_id {
30
unsigned ip;
31
short port;
32
- unsigned short pid;
+ unsigned int pid;
33
int utime;
34
};
35
36
struct process_id_ext {
37
38
int actor_id;
0 commit comments