aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lobject.c b/lobject.c
index 1c32ecf7..5c270b27 100644
--- a/lobject.c
+++ b/lobject.c
@@ -385,7 +385,7 @@ size_t luaO_str2num (const char *s, TValue *o) {
385int luaO_utf8esc (char *buff, l_uint32 x) { 385int luaO_utf8esc (char *buff, l_uint32 x) {
386 int n = 1; /* number of bytes put in buffer (backwards) */ 386 int n = 1; /* number of bytes put in buffer (backwards) */
387 lua_assert(x <= 0x7FFFFFFFu); 387 lua_assert(x <= 0x7FFFFFFFu);
388 if (x < 0x80) /* ascii? */ 388 if (x < 0x80) /* ASCII? */
389 buff[UTF8BUFFSZ - 1] = cast_char(x); 389 buff[UTF8BUFFSZ - 1] = cast_char(x);
390 else { /* need continuation bytes */ 390 else { /* need continuation bytes */
391 unsigned int mfb = 0x3f; /* maximum that fits in first byte */ 391 unsigned int mfb = 0x3f; /* maximum that fits in first byte */