summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_alloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h
index 09814d7ee4..63df6f72e4 100644
--- a/Zend/zend_alloc.h
+++ b/Zend/zend_alloc.h
@@ -154,7 +154,7 @@ ZEND_API UChar *_eustrndup(const UChar *s, int32_t length ZEND_FILE_LINE_DC ZEND
#define eumalloc(size) (UChar*)malloc(UBYTES(size))
#define eurealloc(ptr, size) (UChar*)erealloc((ptr), UBYTES(size))
#define eustrndup(s, length) zend_ustrndup((s), (length))
-#define eustrdup(s) zend_ustnrdup((s), u_strlen(s))
+#define eustrdup(s) zend_ustrndup((s), u_strlen(s))
/* Relay wrapper macros */
#define emalloc_rel(size) malloc(size)