cvs: php4 /ext/standard proc_open.c
| From: | Ilia Alshanetsky | Date: | Fri, 24 Jan 2003 16:45:34 +0000 |
| Subject: | cvs: php4 /ext/standard proc_open.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18140@lists.php.net to get a copy of this message | ||
iliaa Fri Jan 24 11:45:34 2003 EDT
Modified files:
/php4/ext/standard proc_open.c
Log:
Fixed compile warning.
Index: php4/ext/standard/proc_open.c
diff -u php4/ext/standard/proc_open.c:1.2 php4/ext/standard/proc_open.c:1.3
--- php4/ext/standard/proc_open.c:1.2 Wed Jan 15 13:54:03 2003
+++ php4/ext/standard/proc_open.c Fri Jan 24 11:45:34 2003
@@ -15,7 +15,7 @@
| Author: Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: proc_open.c,v 1.2 2003/01/15 18:54:03 wez Exp $ */
+/* $Id: proc_open.c,v 1.3 2003/01/24 16:45:34 iliaa Exp $ */
#include <stdio.h>
#include "php.h"
@@ -216,7 +216,7 @@
array_init(return_value);
add_assoc_string(return_value, "command", proc->command, 1);
- add_assoc_long(return_value, "pid", proc->child);
+ add_assoc_long(return_value, "pid", (long) proc->child);
#ifdef PHP_WIN32