cvs: pear /CodeGen_PECL/PECL/Element Class.php
| From: | Hartmut Holzgraefe | Date: | Fri, 30 Sep 2005 13:13:21 +0000 |
| Subject: | cvs: pear /CodeGen_PECL/PECL/Element Class.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35172@lists.php.net to get a copy of this message | ||
hholzgra Fri Sep 30 09:13:21 2005 EDT
Modified files:
/pear/CodeGen_PECL/PECL/Element Class.php
Log:
silence compiler warning
http://cvs.php.net/diff.php/pear/CodeGen_PECL/PECL/Element/Class.php?r1=1.19&r2=1.20&ty=u
Index: pear/CodeGen_PECL/PECL/Element/Class.php
diff -u pear/CodeGen_PECL/PECL/Element/Class.php:1.19 pear/CodeGen_PECL/PECL/Element/Class.php:1.20
--- pear/CodeGen_PECL/PECL/Element/Class.php:1.19 Thu Sep 22 06:56:36 2005
+++ pear/CodeGen_PECL/PECL/Element/Class.php Fri Sep 30 09:13:18 2005
@@ -15,7 +15,7 @@
* @author Hartmut Holzgraefe <hartmut@php.net>
* @copyright 2005 Hartmut Holzgraefe
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Class.php,v 1.19 2005/09/22 10:56:36 hholzgra Exp $
+ * @version CVS: $Id: Class.php,v 1.20 2005/09/30 13:13:18 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen
*/
@@ -510,7 +510,7 @@
zval *tmp;
zend_object_value retval;
- intern = emalloc(sizeof(php_obj_{$this->name}));
+ intern = (php_obj_{$this->name} *)emalloc(sizeof(php_obj_{$this->name}));
memset(intern, 0, sizeof(php_obj_{$this->name}));
intern->obj.ce = class_type;
".$this->getPayloadCtor()."
@@ -649,4 +649,4 @@
}
-?>
\ No newline at end of file
+?>