Bug #14619: Number doesn't fit the data type
| From: | Lars-Owe dot Ivarsson at its dot uu dot se | Date: | Thu, 20 Dec 2001 14:45:51 +0000 |
| Subject: | Bug #14619: Number doesn't fit the data type | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74587@lists.php.net to get a copy of this message | ||
From: Lars-Owe.Ivarsson@its.uu.se
Operating system: AIX (probably not OS specific)
PHP version: 4.1.0
PHP Bug Type: Compile Warning
Bug description: Number doesn't fit the data type
"zend_alloc.c", line 635.22: 1506-419 (E) Converting 2576696087 to type
"long int" does not preserve its value.
"zend_alloc.c", line 643.22: 1506-419 (E) Converting 4219631580 to type
"long int" does not preserve its value.
Using 32 bit long these values won't fit. Changing the declaration on line
36 of Zend/zend_alloc.h from 'long magic' to 'unsigned long magic,' or
lowering the constant codes might be worth considering.
Yours,
lars-owe
--
Edit bug report at: http://bugs.php.net/?id=14619&edit=1