diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 7acd416f461..95740a1d91f 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -177,7 +177,7 @@ static php_process_env_t _php_array_to_envp(zval *environment, int is_persistent } } - assert(p - env.envp <= sizeenv); + assert((uint)(p - env.envp) <= sizeenv); zend_hash_internal_pointer_reset_ex(target_hash, &pos);