]> git.eshelyaron.com Git - emacs.git/commitdiff
* w32proc.c (create_child): Use make_number instead of masking pid.
authorJason Rumney <jasonr@gnu.org>
Mon, 17 May 2004 22:27:53 +0000 (22:27 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 17 May 2004 22:27:53 +0000 (22:27 +0000)
src/w32proc.c

index 88afa590bbeaea04f11a1af4df67d8c7c13e43fa..0c24f0b9c17ae100c96b93a2012cdd65f456e402 100644 (file)
@@ -366,10 +366,8 @@ create_child (char *exe, char *cmdline, char *env, int is_gui_app,
   if (cp->pid < 0)
     cp->pid = -cp->pid;
 
-#if defined(NO_UNION_TYPE) && !defined (USE_LSB_TAG)
   /* pid must fit in a Lisp_Int */
-  cp->pid = (cp->pid & VALMASK);
-#endif
+  cp->pid = make_number (cp->pid);
 
   *pPid = cp->pid;