On 30.08.2007 14:08, BuildSmart wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> /php-src/ext/rar/rar.cpp: In function 'int zm_startup_rar(int, int)':
> /php-src/ext/rar/rar.cpp:677: error: invalid conversion from 'void*'  
> to 'UChar*'
> 
> ext/rar/rar.cpp:
> 673:PHP_MINIT_FUNCTION(rar)
> 674:{
> 675:  zend_class_entry rar_class_entry;
> 676:
> 677:  INIT_CLASS_ENTRY(rar_class_entry, "RarEntry", rar_functions);
> 678:  rar_class_entry_ptr = zend_register_internal_class 
> (&rar_class_entry TSRMLS_CC);

And you fixed it by changing "function_entry" to "zend_function_entry"?
Well, then your compiler went mad. 

Because they are absolutely equal:
main/php, line 177
#define function_entry          zend_function_entry

-- 
Wbr, 
Antony Dovgal

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to