logo       
Google Custom Search
    AddThis Social Bookmark Button

cvs: pecl /bcompiler bcompiler.c: msg#00119

Subject: cvs: pecl /bcompiler bcompiler.c
val             Mon Apr 18 14:55:58 2005 EDT

  Modified files:              
    /pecl/bcompiler     bcompiler.c 
  Log:
  fix types when serializing/deserializing zend_property_info
  
  
http://cvs.php.net/diff.php/pecl/bcompiler/bcompiler.c?r1=1.87&r2=1.88&ty=u
Index: pecl/bcompiler/bcompiler.c
diff -u pecl/bcompiler/bcompiler.c:1.87 pecl/bcompiler/bcompiler.c:1.88
--- pecl/bcompiler/bcompiler.c:1.87     Mon Apr 18 14:53:01 2005
+++ pecl/bcompiler/bcompiler.c  Mon Apr 18 14:55:57 2005
@@ -20,7 +20,7 @@
    |          Mike Bretz <mike@xxxxxxxxxxxxxxxx>                          |
    +----------------------------------------------------------------------+
  */
-/* $Id: bcompiler.c,v 1.87 2005/04/18 18:53:01 val Exp $ */
+/* $Id: bcompiler.c,v 1.88 2005/04/18 18:55:57 val Exp $ */
  
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -2464,17 +2464,17 @@
 #ifdef ZEND_ENGINE_2
 void apc_serialize_zend_property_info(zend_property_info* zpr TSRMLS_DC)
 {
-       SERIALIZE_SCALAR(zpr->flags, int);
+       SERIALIZE_SCALAR(zpr->flags, zend_uint);
        apc_serialize_zstring(zpr->name, zpr->name_length TSRMLS_CC);
        SERIALIZE_SCALAR(zpr->name_length, uint);
-       SERIALIZE_SCALAR(zpr->h, int);
+       SERIALIZE_SCALAR(zpr->h, ulong);
 }
 void apc_deserialize_zend_property_info(zend_property_info* zpr TSRMLS_DC)
 {
-       DESERIALIZE_SCALAR(&zpr->flags, int);
+       DESERIALIZE_SCALAR(&zpr->flags, zend_uint);
        apc_create_string(&zpr->name TSRMLS_CC);
        DESERIALIZE_SCALAR(&zpr->name_length, uint); 
-       DESERIALIZE_SCALAR(&zpr->h, int);
+       DESERIALIZE_SCALAR(&zpr->h, ulong);
 }
 
 void apc_create_zend_property_info(zend_property_info** zf TSRMLS_DC)



<Prev in Thread] Current Thread [Next in Thread>