summaryrefslogtreecommitdiff
path: root/src/pcre/lpcre.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcre/lpcre.c')
-rwxr-xr-xsrc/pcre/lpcre.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pcre/lpcre.c b/src/pcre/lpcre.c
index 1f3ff50..c2162f6 100755
--- a/src/pcre/lpcre.c
+++ b/src/pcre/lpcre.c
@@ -113,7 +113,7 @@ static int getcflags (lua_State *L, int pos) {
return res;
}
default:
- return luaL_typerror (L, pos, "number or string");
+ return luaL_typeerror (L, pos, "number or string");
}
}
@@ -436,4 +436,3 @@ REX_API int REX_OPENLIB (lua_State *L) {
return 1;
}
-