diff options
-rw-r--r-- | libs/luci-lib-jsonc/src/jsonc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c index 2f56a4a688..74839dd4f5 100644 --- a/libs/luci-lib-jsonc/src/jsonc.c +++ b/libs/luci-lib-jsonc/src/jsonc.c @@ -368,7 +368,7 @@ static struct json_object * _lua_to_json_rec(lua_State *L, int index, ni = lua_tointeger(L, index); if (nd == ni) - return json_object_new_int(nd); + return json_object_new_int64(nd); return json_object_new_double(nd); |