diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-01-07 23:00:09 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-01-07 23:00:09 +0000 |
commit | e63c643cb2059fcb3ff21212491019d298f76ee7 (patch) | |
tree | 0a6d56aa81e509216f52b951bda0dbd92a5ee849 /epan/wslua | |
parent | 064496de3ab176052aea939d0d76208ec3d6bcbe (diff) |
Add a cast.
svn path=/trunk/; revision=24028
Diffstat (limited to 'epan/wslua')
-rw-r--r-- | epan/wslua/init_wslua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/init_wslua.c b/epan/wslua/init_wslua.c index a3de186ca2..ebf4cf22c2 100644 --- a/epan/wslua/init_wslua.c +++ b/epan/wslua/init_wslua.c @@ -90,7 +90,7 @@ int dissect_lua(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree) { /* if the Lua dissector reported the consumed bytes, pass it to our caller */ if (lua_isnumber(L, -1)) { - consumed_bytes = lua_tonumber(L, -1); + consumed_bytes = (int) lua_tonumber(L, -1); lua_pop(L, 1); /* pop returned value */ } } |