aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-websocket.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-11-02 21:09:52 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-11-02 21:09:52 +0000
commit1deb8ffc1e2de42e257e06aac12806097bca53b6 (patch)
treec04b0357611c9c9ce5e56c285af8e800a5db508b /epan/dissectors/packet-websocket.c
parent94ae27661e80dbd2ea800749c601283b066be804 (diff)
Try to fix Windows XP/7 buildbot
svn path=/trunk/; revision=45876
Diffstat (limited to 'epan/dissectors/packet-websocket.c')
-rw-r--r--epan/dissectors/packet-websocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-websocket.c b/epan/dissectors/packet-websocket.c
index 80b7ebc880..470f5bffa3 100644
--- a/epan/dissectors/packet-websocket.c
+++ b/epan/dissectors/packet-websocket.c
@@ -298,7 +298,7 @@ dissect_websocket(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat
pinfo->desegment_len = 2+8;
return 0;
}
- payload_length = tvb_get_ntoh64(tvb, 2);
+ payload_length = (guint64)tvb_get_ntoh64(tvb, 2);
mask_offset = 2+8;
}
else{