We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c72f57 commit b4ade78Copy full SHA for b4ade78
src/ngx_http_lua_common.h
@@ -140,9 +140,14 @@ typedef struct {
140
#endif
141
142
143
+#if (NGX_PTR_SIZE >= 8)
144
#define ngx_http_lua_lightudata_mask(ludata) \
145
((void *) ((uintptr_t) (&ngx_http_lua_##ludata) & ((1UL << 47) - 1)))
146
147
+#else
148
+#define ngx_http_lua_lightudata_mask(ludata) (&ngx_http_lua_##ludata)
149
+#endif
150
+
151
152
typedef struct ngx_http_lua_main_conf_s ngx_http_lua_main_conf_t;
153
typedef union ngx_http_lua_srv_conf_u ngx_http_lua_srv_conf_t;
0 commit comments