--- embedaddon/php/ext/wddx/wddx.c	2012/02/21 23:48:05	1.1.1.1
+++ embedaddon/php/ext/wddx/wddx.c	2013/07/22 01:32:10	1.1.1.3
@@ -2,7 +2,7 @@
    +----------------------------------------------------------------------+
    | PHP Version 5                                                        |
    +----------------------------------------------------------------------+
-   | Copyright (c) 1997-2012 The PHP Group                                |
+   | Copyright (c) 1997-2013 The PHP Group                                |
    +----------------------------------------------------------------------+
    | This source file is subject to version 3.01 of the PHP license,      |
    | that is bundled with this package in the file LICENSE, and is        |
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: wddx.c,v 1.1.1.1 2012/02/21 23:48:05 misho Exp $ */
+/* $Id: wddx.c,v 1.1.1.3 2013/07/22 01:32:10 misho Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -457,7 +457,7 @@ static void php_wddx_serialize_object(wddx_packet *pac
 /* OBJECTS_FIXME */
 	zval **ent, *fname, **varname;
 	zval *retval = NULL;
-	char *key;
+	const char *key;
 	ulong idx;
 	char tmp_buf[WDDX_BUF_LEN];
 	HashTable *objhash, *sleephash;
@@ -529,7 +529,7 @@ static void php_wddx_serialize_object(wddx_packet *pac
 			}
 
 			if (zend_hash_get_current_key_ex(objhash, &key, &key_len, &idx, 0, NULL) == HASH_KEY_IS_STRING) {
-				char *class_name, *prop_name;
+				const char *class_name, *prop_name;
 				
 				zend_unmangle_property_name(key, key_len-1, &class_name, &prop_name);
 				php_wddx_serialize_var(packet, *ent, prop_name, strlen(prop_name)+1 TSRMLS_CC);