summaryrefslogtreecommitdiff
path: root/src/w32proc.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-05-18 22:09:25 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-05-18 22:09:25 +0000
commitacba5cae3e7cfadd80c89e8a22860113504d1379 (patch)
tree4f8155e94bb825cd733fedfef9597f0d977eac23 /src/w32proc.c
parent6dd6baa5df0cb0370b713e40e2143487a6a8ab38 (diff)
downloademacs-acba5cae3e7cfadd80c89e8a22860113504d1379.tar.gz
(create_child): Use INTMASK.
Diffstat (limited to 'src/w32proc.c')
-rw-r--r--src/w32proc.c4
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 @@
/* Process support for GNU Emacs on the Microsoft W32 API.
- Copyright (C) 1992, 1995, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1992, 95, 99, 2000, 01, 04 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -367,7 +367,7 @@ create_child (char *exe, char *cmdline, char *env, int is_gui_app,
cp->pid = -cp->pid;
/* pid must fit in a Lisp_Int */
- cp->pid = XUINT (make_number (cp->pid));
+ cp->pid = cp->pid & INTMASK;
*pPid = cp->pid;