X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=php_json_post.c;fp=php_json_post.c;h=643b1738f57467322c6fb4de87b367560939f7f6;hp=77ceb8d3854fe20c208d2a3c76885223210df949;hb=cc2cd82ca95bc3f59e5fdb22f15e3f907370bfb5;hpb=c1b0270e93fc2706027296233553933d03d3fd1e diff --git a/php_json_post.c b/php_json_post.c index 77ceb8d..643b173 100644 --- a/php_json_post.c +++ b/php_json_post.c @@ -59,7 +59,7 @@ PHP_MINFO_FUNCTION(json_post) #if PHP_VERSION_ID < 70000 # undef JSON_G # ifdef ZTS -# define JSON_G(v) TSRMG(JSON_POST_G(json_module)->globals_id_ptr, zend_json_globals *, v) +# define JSON_G(v) TSRMG(*JSON_POST_G(json_module)->globals_id_ptr, zend_json_globals *, v) # else # define JSON_G(v) ((zend_json_globals *) JSON_POST_G(json_module)->globals_ptr)->v # endif