]> granicus.if.org Git - php/commitdiff
Fixed compile warning.
authorIlia Alshanetsky <iliaa@php.net>
Fri, 24 Jan 2003 16:45:34 +0000 (16:45 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 24 Jan 2003 16:45:34 +0000 (16:45 +0000)
ext/standard/proc_open.c

index 046581ebf1554476e8d2ceee2114cfab386f6a51..7cca8a5ac42ed46551fa1f67716811369403649e 100644 (file)
@@ -216,7 +216,7 @@ PHP_FUNCTION(proc_get_status)
        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