]> granicus.if.org Git - php/commitdiff
- kill warning
authorPierre Joye <pajoye@php.net>
Mon, 6 Sep 2010 10:28:04 +0000 (10:28 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 6 Sep 2010 10:28:04 +0000 (10:28 +0000)
ext/standard/proc_open.c

index 7acd416f461a16f0884097efacbe1b8d8fbd663c..95740a1d91fafe329f4954c2179b129f2025d419 100644 (file)
@@ -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);