cvs: TSRM / TSRM.h
| From: | Jani Taskinen | Date: | Fri, 05 Aug 2005 22:28:23 +0000 |
| Subject: | cvs: TSRM / TSRM.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3976@lists.php.net to get a copy of this message | ||
sniper Fri Aug 5 18:28:23 2005 EDT
Modified files:
/TSRM TSRM.h
Log:
Fix compile failure with GCC 4.0.x
http://cvs.php.net/diff.php/TSRM/TSRM.h?r1=1.49&r2=1.50&ty=u
Index: TSRM/TSRM.h
diff -u TSRM/TSRM.h:1.49 TSRM/TSRM.h:1.50
--- TSRM/TSRM.h:1.49 Wed Apr 27 18:19:54 2005
+++ TSRM/TSRM.h Fri Aug 5 18:28:23 2005
@@ -143,7 +143,7 @@
#define TSRMLS_FETCH() void ***tsrm_ls = (void ***) ts_resource_ex(0, NULL)
#define TSRMLS_FETCH_FROM_CTX(ctx) void ***tsrm_ls = (void ***) ctx
-#define TSRMLS_SET_CTX(ctx) (void ***) ctx = tsrm_ls
+#define TSRMLS_SET_CTX(ctx) ctx = (void ***) tsrm_ls
#define TSRMG(id, type, element) (((type) (*((void ***)
tsrm_ls))[TSRM_UNSHUFFLE_RSRC_ID(id)])->element)
#define TSRMLS_D void ***tsrm_ls
#define TSRMLS_DC , TSRMLS_D