diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-12-22 14:47:16 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-12-22 14:47:16 +0000 |
commit | c00f8779f5f78e1350837ea8dc6164a91fb903cc (patch) | |
tree | b903a3b92c131fe4f2d78ae2be479c86f17486a7 /epan/dissectors/packet-srvloc.c | |
parent | 400a1fcd60c311340788008fdc81484ed1910963 (diff) |
Don't use 'L' as a constant modifier.
svn path=/trunk/; revision=54358
Diffstat (limited to 'epan/dissectors/packet-srvloc.c')
-rw-r--r-- | epan/dissectors/packet-srvloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-srvloc.c b/epan/dissectors/packet-srvloc.c index 240ca9d3e9..a978223e70 100644 --- a/epan/dissectors/packet-srvloc.c +++ b/epan/dissectors/packet-srvloc.c @@ -359,7 +359,7 @@ dissect_authblk(tvbuff_t *tvb, int offset, proto_tree *tree) double floatsec; guint16 length; - seconds = tvb_get_ntohl(tvb, offset) - 2208988800ul; + seconds = (time_t)(tvb_get_ntohl(tvb, offset) - 2208988800u); /* epoch is 00:00:00 (midnight) UTC on 1900-01-01 */ stamp = gmtime(&seconds); if (stamp != NULL) { floatsec = stamp->tm_sec + tvb_get_ntohl(tvb, offset + 4) / 4294967296.0; |