From:             jbarwick at sentienthealth dot com
Operating system: SuSE 9.1 (amd64)
PHP version:      4.3.8
PHP Bug Type:     Compile Failure
Bug description:  ext/standard fails to compile due to data type error

Description:
------------
in /etx/standard/var_unserializer.c line 310
data type error...

Changed line from:

if (yych <= '\277) gogo yy15;

to

if (yych <= (YYCTYPE) '\277') goto yy15;

this removed a compiler warning on this file relating to limited range of
data type and the fact that this if would always return false..

Reproduce code:
---------------
compile the code

Expected result:
----------------
no error relating to date type size

Actual result:
--------------
error relating to data type size

-- 
Edit bug report at http://bugs.php.net/?id=30559&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30559&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30559&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30559&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30559&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30559&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30559&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30559&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30559&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30559&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30559&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30559&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30559&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30559&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30559&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30559&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30559&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30559&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30559&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30559&r=mysqlcfg

Reply via email to