diff options
| author | foobar <sniper@php.net> | 2005-08-05 22:28:23 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-08-05 22:28:23 +0000 |
| commit | 894237d53127c6907e971826befc027aae33cbb9 (patch) | |
| tree | 5f9fe302f9b9ff7ab241561f048f49184173cf77 | |
| parent | 8864ad2606cdfc85fc7ac95e872687a88cc94bb5 (diff) | |
| download | php-git-894237d53127c6907e971826befc027aae33cbb9.tar.gz | |
Fix compile failure with GCC 4.0.x
| -rw-r--r-- | TSRM/TSRM.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/TSRM.h b/TSRM/TSRM.h index cbc9cf81c7..b2868730e5 100644 --- a/TSRM/TSRM.h +++ b/TSRM/TSRM.h @@ -143,7 +143,7 @@ TSRM_API void tsrm_free_interpreter_context(void *context); #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 |
