summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2014-08-12 22:00:23 +0100
committerLior Kaplan <kaplanlior@gmail.com>2014-08-17 15:44:02 +0300
commit3f42f2f5d1c8026b6e1d21b91857a08d918c28c8 (patch)
tree9d007c39909e160f3ba313545de32e0dba73cfa3 /ext/json/json.c
parent0407bdf252004cce08e383bc0f4aa0bbc69c9a25 (diff)
downloadphp-git-3f42f2f5d1c8026b6e1d21b91857a08d918c28c8.tar.gz
typofixes
Diffstat (limited to 'ext/json/json.c')
-rw-r--r--ext/json/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/json.c b/ext/json/json.c
index b3240e1b4b..87de49cb8c 100644
--- a/ext/json/json.c
+++ b/ext/json/json.c
@@ -368,7 +368,7 @@ static int json_utf8_to_utf16(unsigned short *utf16, char utf8[], int len) /* {{
}
}
} else {
- /* Only check if utf8 string is valid, and compute utf16 lenght */
+ /* Only check if utf8 string is valid, and compute utf16 length */
for (j=0 ; pos < len ; j++) {
us = php_next_utf8_char((const unsigned char *)utf8, len, &pos, &status);
if (status != SUCCESS) {