diff options
| author | Jason Rumney | 2004-05-17 22:27:53 +0000 |
|---|---|---|
| committer | Jason Rumney | 2004-05-17 22:27:53 +0000 |
| commit | 8f5457ae6053acfd6197ae734554da41f650fb8d (patch) | |
| tree | 0d206bf26ed9e4d1579ee6cc926e9e45bc0cfa0d /src | |
| parent | e597eb7d6c2ce218faa1e060b4e0402cb0bd16a6 (diff) | |
| download | emacs-8f5457ae6053acfd6197ae734554da41f650fb8d.tar.gz emacs-8f5457ae6053acfd6197ae734554da41f650fb8d.zip | |
* w32proc.c (create_child): Use make_number instead of masking pid.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32proc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index 88afa590bbe..0c24f0b9c17 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -366,10 +366,8 @@ create_child (char *exe, char *cmdline, char *env, int is_gui_app, | |||
| 366 | if (cp->pid < 0) | 366 | if (cp->pid < 0) |
| 367 | cp->pid = -cp->pid; | 367 | cp->pid = -cp->pid; |
| 368 | 368 | ||
| 369 | #if defined(NO_UNION_TYPE) && !defined (USE_LSB_TAG) | ||
| 370 | /* pid must fit in a Lisp_Int */ | 369 | /* pid must fit in a Lisp_Int */ |
| 371 | cp->pid = (cp->pid & VALMASK); | 370 | cp->pid = make_number (cp->pid); |
| 372 | #endif | ||
| 373 | 371 | ||
| 374 | *pPid = cp->pid; | 372 | *pPid = cp->pid; |
| 375 | 373 | ||