#20994 [Fbk]: int/long confusion in 64bits machine

From: Date: Sat, 14 Dec 2002 18:53:44 +0000
Subject: #20994 [Fbk]: int/long confusion in 64bits machine
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27714@lists.php.net to get a copy of this message
ID: 20994 Updated by: msopacua@php.net Reported By: soula@lifl.fr Status: Feedback Bug Type: Scripting Engine problem Operating System: any 64bit PHP Version: 4.3.0RC3 New Comment: FYI: there's a README.SUBMITTING_PATCH in the distribution, containing the guidelines for ... submitting a patch. Previous Comments: ------------------------------------------------------------------------ [2002-12-14 03:50:29] sniper@php.net Could you provide that patch in unified diff format? And against the CVS HEAD? ------------------------------------------------------------------------ [2002-12-13 12:15:35] soula@lifl.fr There are locations in source where variables are declared int or long and are menipulated with long or int pointer respectively. - The function "OnUpdateInt" use long pointer (the case is already referenced in bug#20433 but I found more variables concerned). - In function "zend_parse_parameters()", the variable for token "l" should be a long and the 2nd variable for token "s" should be a int. The patch above try to fix the 2 cases : ftp://codon.genopole-lille.fr/pub/php-4.3.0RC2-onupdateint+zendparam.patch -- Julien ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20994&edit=1

« previous php.bugs (#27714) next »