diff options
| author | Stefan Monnier | 2004-05-18 22:09:25 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-05-18 22:09:25 +0000 |
| commit | acba5cae3e7cfadd80c89e8a22860113504d1379 (patch) | |
| tree | 4f8155e94bb825cd733fedfef9597f0d977eac23 /src | |
| parent | 6dd6baa5df0cb0370b713e40e2143487a6a8ab38 (diff) | |
| download | emacs-acba5cae3e7cfadd80c89e8a22860113504d1379.tar.gz emacs-acba5cae3e7cfadd80c89e8a22860113504d1379.zip | |
(create_child): Use INTMASK.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index 842869726df..8452337f7e2 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Process support for GNU Emacs on the Microsoft W32 API. | 1 | /* Process support for GNU Emacs on the Microsoft W32 API. |
| 2 | Copyright (C) 1992, 1995, 1999, 2000, 2001 Free Software Foundation, Inc. | 2 | Copyright (C) 1992, 95, 99, 2000, 01, 04 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -367,7 +367,7 @@ create_child (char *exe, char *cmdline, char *env, int is_gui_app, | |||
| 367 | cp->pid = -cp->pid; | 367 | cp->pid = -cp->pid; |
| 368 | 368 | ||
| 369 | /* pid must fit in a Lisp_Int */ | 369 | /* pid must fit in a Lisp_Int */ |
| 370 | cp->pid = XUINT (make_number (cp->pid)); | 370 | cp->pid = cp->pid & INTMASK; |
| 371 | 371 | ||
| 372 | *pPid = cp->pid; | 372 | *pPid = cp->pid; |
| 373 | 373 | ||