- get rid of 1001 strict-aliasing warnings
[m6w6/ext-http] / http_request_pool_api.c
index 31261cf1d2f4c3281e0e3c0830fc2a34bc3902ce..cf8421848b4a55ae6f0eabde2361d8d27938f131 100644 (file)
@@ -289,11 +289,11 @@ static void move_backtrace_args(zval *from, zval *to TSRMLS_DC)
        zval **args, **trace_0, *old_trace_0, *trace = NULL;
        
        if ((trace = zend_read_property(zend_exception_get_default(), from, "trace", lenof("trace"), 0 TSRMLS_CC))) {
        zval **args, **trace_0, *old_trace_0, *trace = NULL;
        
        if ((trace = zend_read_property(zend_exception_get_default(), from, "trace", lenof("trace"), 0 TSRMLS_CC))) {
-               if (SUCCESS == zend_hash_index_find(Z_ARRVAL_P(trace), 0, (void **) &trace_0)) {
+               if (SUCCESS == zend_hash_index_find(Z_ARRVAL_P(trace), 0, (void *) &trace_0)) {
                        old_trace_0 = *trace_0;
                        old_trace_0 = *trace_0;
-                       if (SUCCESS == zend_hash_find(Z_ARRVAL_PP(trace_0), "args", sizeof("args"), (void **) &args)) {
+                       if (SUCCESS == zend_hash_find(Z_ARRVAL_PP(trace_0), "args", sizeof("args"), (void *) &args)) {
                                if ((trace = zend_read_property(zend_exception_get_default(), to, "trace", lenof("trace"), 0 TSRMLS_CC))) {
                                if ((trace = zend_read_property(zend_exception_get_default(), to, "trace", lenof("trace"), 0 TSRMLS_CC))) {
-                                       if (SUCCESS == zend_hash_index_find(Z_ARRVAL_P(trace), 0, (void **) &trace_0)) {
+                                       if (SUCCESS == zend_hash_index_find(Z_ARRVAL_P(trace), 0, (void *) &trace_0)) {
                                                ZVAL_ADDREF(*args);
                                                add_assoc_zval(*trace_0, "args", *args);
                                                zend_hash_del(Z_ARRVAL_P(old_trace_0), "args", sizeof("args"));
                                                ZVAL_ADDREF(*args);
                                                add_assoc_zval(*trace_0, "args", *args);
                                                zend_hash_del(Z_ARRVAL_P(old_trace_0), "args", sizeof("args"));