aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mysql.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2014-05-06 09:47:08 +0200
committerAnders Broman <a.broman58@gmail.com>2014-05-06 07:49:34 +0000
commit72662c22c2dbc82d2d2fc8671f77b8a4f2b56c86 (patch)
treef19f69987bd83f7973dfe820158f1c4f84b5be39 /epan/dissectors/packet-mysql.c
parenta4a851cb80b22adaca5c85a83b831cf128a369d3 (diff)
Try to fix
packet-mysql.c(1446) : warning C4244: 'function' : conversion from 'guint64' to 'gint', possible loss of data Change-Id: Ie0b2e916e0d15287f5a3ededc404b678b45600d8 Reviewed-on: https://code.wireshark.org/review/1525 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mysql.c')
-rw-r--r--epan/dissectors/packet-mysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mysql.c b/epan/dissectors/packet-mysql.c
index 22f4a84a91..de0c14464a 100644
--- a/epan/dissectors/packet-mysql.c
+++ b/epan/dissectors/packet-mysql.c
@@ -1430,8 +1430,8 @@ static int
add_session_tracker_entry_to_tree(tvbuff_t *tvb, packet_info *pinfo, proto_item *tree, int offset) {
guint8 data_type; /* session tracker type */
guint64 length; /* complete length of session tracking entry */
- guint64 lenstr, lenfle;
- int orig_offset = offset;
+ guint64 lenstr;
+ int orig_offset = offset, lenfle;
proto_item *item, *ti;
proto_tree *session_track_tree;