summaryrefslogtreecommitdiff
path: root/ext/standard/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/html.c')
-rw-r--r--ext/standard/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c
index a9e5fbfe9d..04a4ea6c76 100644
--- a/ext/standard/html.c
+++ b/ext/standard/html.c
@@ -813,7 +813,7 @@ static inline int process_numeric_entity(const char **buf, unsigned *code_point)
/* many more are invalid, but that depends on whether it's HTML
* (and which version) or XML. */
- if (code_l > Z_I(0x10FFFF))
+ if (code_l > Z_L(0x10FFFF))
return FAILURE;
if (code_point != NULL)