Wireshark-commits: [Wireshark-commits] master 19a8eaf: Use luaL_{check, opt}integer() rather than l
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=19a8eafc15aec0b7023b6bb09fc6bb72e8a714ab
Submitter: Hadriel Kaplan (hadrielk@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
19a8eaf by Guy Harris (guy@xxxxxxxxxxxx):
Use luaL_{check,opt}integer() rather than luaL_{check,opt}int().
Lua prior to 5.3 defined luaL_{check,opt}int() as macros wrapping
luaL_{check,opt}integer() with a cast to int; Lua 5.3 doesn't.
It sounds as if the Lua developers are deprecating luaL_{check,opt}int():
http://osdir.com/ml/general/2014-10/msg46568.html
Change-Id: I2d0b649dcd57ede124f31d39f7945f342ae9b18f
Reviewed-on: https://code.wireshark.org/review/6744
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Petri-Dish: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Tested-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Actions performed:
from 2eaa467 oids: fix memory leak
adds 19a8eaf Use luaL_{check,opt}integer() rather than luaL_{check,opt}int().
Summary of changes:
epan/wslua/lrexlib_algo.h | 4 ++--
epan/wslua/lrexlib_glib.c | 2 +-
epan/wslua/wslua.h | 10 ++++-----
epan/wslua/wslua_dumper.c | 28 ++++++++++++------------
epan/wslua/wslua_gui.c | 2 +-
epan/wslua/wslua_int64.c | 8 +++----
epan/wslua/wslua_internals.c | 4 ++--
epan/wslua/wslua_listener.c | 2 +-
epan/wslua/wslua_pinfo.c | 4 ++--
epan/wslua/wslua_proto.c | 28 ++++++++++++------------
epan/wslua/wslua_tree.c | 6 +++---
epan/wslua/wslua_tvb.c | 48 +++++++++++++++++++++---------------------
12 files changed, 73 insertions(+), 73 deletions(-)