summaryrefslogtreecommitdiffstats
path: root/epan/wslua/lrexlib
diff options
context:
space:
mode:
Diffstat (limited to 'epan/wslua/lrexlib')
-rw-r--r--epan/wslua/lrexlib/pcre2/lpcre2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/lrexlib/pcre2/lpcre2.c b/epan/wslua/lrexlib/pcre2/lpcre2.c
index f24cbec8..ee1926f8 100644
--- a/epan/wslua/lrexlib/pcre2/lpcre2.c
+++ b/epan/wslua/lrexlib/pcre2/lpcre2.c
@@ -432,7 +432,7 @@ static int Lpcre2_jit_compile (lua_State *L) {
#define SET_INFO_FIELD(L,ud,what,name,valtype) { \
valtype val; \
if (0 == pcre2_pattern_info (ud->pr, what, &val)) { \
- lua_pushnumber (L, val); \
+ lua_pushinteger (L, val); \
lua_setfield (L, -2, name); \
} \
}