Re: com php-src: fix (signed) integer overflow (part of bug #52550: Zend/zend_hash.h

From: Date: Wed, 04 Jul 2012 18:48:13 +0000
Subject: Re: com php-src: fix (signed) integer overflow (part of bug #52550: Zend/zend_hash.h
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-69517@lists.php.net to get a copy of this message
Hi!
Commit:    91ce8041a3e85594e81466a528f8d55cdc164c1f
Author:    Nuno Lopes <nlopess@php.net>         Mon, 2 Jul 2012 01:31:40 -0400
Parents: be4053cea0462c9de5396641f4e4fa2f56f5a675 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=91ce8041a3e85594e81466a528f8d55cdc164c1f Log: fix (signed) integer overflow (part of bug #52550
BTW, this generates huge amount of "unary minus applied to unsigned" warnings on Windows, may be a good idea to fix that.
Ok. I don 't have a MSVC setup handy. Can you please test if replacing that line with 'idx = 0 - idx;' fixes the warnings for you? Thanks, Nuno

« previous php.cvs (#69517) next »