diff options
Diffstat (limited to 'epan/wslua/wslua_tvb.c')
-rw-r--r-- | epan/wslua/wslua_tvb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_tvb.c b/epan/wslua/wslua_tvb.c index 57c0e91f67..76fdb416d7 100644 --- a/epan/wslua/wslua_tvb.c +++ b/epan/wslua/wslua_tvb.c @@ -767,7 +767,7 @@ WSLUA_METHOD TvbRange_le_uint64(lua_State* L) { case 7: case 8: { UInt64 num = g_malloc(sizeof(guint64)); - *num = tvb_get_ntoh64(tvbr->tvb->ws_tvb,tvbr->offset); + *num = tvb_get_letoh64(tvbr->tvb->ws_tvb,tvbr->offset); pushUInt64(L,num); WSLUA_RETURN(1); } @@ -894,7 +894,7 @@ WSLUA_METHOD TvbRange_le_int64(lua_State* L) { case 7: case 8: { Int64 num = g_malloc(sizeof(gint64)); - *num = (gint64)tvb_get_ntoh64(tvbr->tvb->ws_tvb,tvbr->offset); + *num = (gint64)tvb_get_letoh64(tvbr->tvb->ws_tvb,tvbr->offset); pushInt64(L,num); WSLUA_RETURN(1); } |