2007.02.14 07:14
"passing argument 2 of 'zend_unmangle_property_name' makes integer from pointer without a cast" while compiling dbg-2.13.1.tar.gz
Today I tried to compile dbg-2.13.1.tar.gz. I had an error:
dbg-2.13.1/dbg_ser.c: In function \'serialize_hash\':
dbg-2.13.1/dbg_ser.c:72: warning: passing argument 2 of \'zend_unmangle_property_name\' makes integer from pointer without a cast
dbg-2.13.1/dbg_ser.c:72: error: too few arguments to function \'zend_unmangle_property_name\'
So I changed:
zend_unmangle_property_name(key, &classname, &propname);
to:
zend_unmangle_property_name(key, strlen(key), &classname, &propname);
Then it compiled without problems.
komentarze:
powrót na stronę główną
RSS