aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rdp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-02-01 15:50:45 -0800
committerGuy Harris <guy@alum.mit.edu>2016-02-01 23:51:39 +0000
commit8294e773b0d8b8d0cc0cb3da104fb4c621b4a3ae (patch)
treeb0a0261a194488c1c036846f951e9a1ab91ba035 /epan/dissectors/packet-rdp.c
parent4a5a96c277b6be56fb48bc71d9bf3ecfb52c8195 (diff)
Quick fix for the build.
(The routing token/cookie needs to be dissected better.) Change-Id: I33464a846cda711aa430ba8f71dfe1959de3b7f9 Reviewed-on: https://code.wireshark.org/review/13651 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-rdp.c')
-rw-r--r--epan/dissectors/packet-rdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rdp.c b/epan/dissectors/packet-rdp.c
index 88763bc6cc..ea38223424 100644
--- a/epan/dissectors/packet-rdp.c
+++ b/epan/dissectors/packet-rdp.c
@@ -2154,7 +2154,7 @@ dissect_rdp_cr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void*
/* XXX - distinguish between routing token and cookie? */
linelen = tvb_find_line_end(tvb, offset, -1, &next_offset, TRUE);
proto_tree_add_item(tree, hf_rdp_rt_cookie, tvb, offset, linelen, ENC_ASCII|ENC_NA);
- offset = (linelen == -1) ? tvb_captured_length(tvb) : next_offset;
+ offset = (linelen == -1) ? (gint)tvb_captured_length(tvb) : next_offset;
}
/*
* rdpNegRequest?