diff options
-rw-r--r-- | ext/standard/url_scanner_ex.re | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re index 8ad129380e..1877e68918 100644 --- a/ext/standard/url_scanner_ex.re +++ b/ext/standard/url_scanner_ex.re @@ -656,7 +656,7 @@ static int php_url_scanner_ex_activate(int type) ctx = &BG(url_adapt_output_ex); } - memset(ctx, 0, ((size_t) &((url_adapt_state_ex_t *)0)->tags)); + memset(ctx, 0, XtOffsetOf(url_adapt_state_ex_t, tags)); return SUCCESS; } |