diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-12-14 10:37:08 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-12-14 18:38:17 +0000 |
commit | 6af3fa00c048a8dbd2876f7f13d131ac8f04313a (patch) | |
tree | 1b9f16d3e4164dbc52531af0dfea2bd1d8fbd4cf /epan/dissectors/packet-ppp.c | |
parent | a1c28c6805ea394a95fef526548d033d81735253 (diff) |
64-bit constants need to be wrapped in G_GUINT64_CONSTANT().
When building for ILP32 platforms, they need to be appropriately marked
so the compiler treats them as 64-bit.
Change-Id: I7a463f88540c446f08a9137953276ed5a735c644
Reviewed-on: https://code.wireshark.org/review/12625
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-ppp.c')
-rw-r--r-- | epan/dissectors/packet-ppp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ppp.c b/epan/dissectors/packet-ppp.c index 1a2585e88e..08028e9562 100644 --- a/epan/dissectors/packet-ppp.c +++ b/epan/dissectors/packet-ppp.c @@ -6645,10 +6645,10 @@ proto_register_bcp_ncp(void) NULL, 0x0, NULL, HFILL } }, { &hf_bcp_ncp_mac_l, { "L bit", "bcp_ncp.lcp.mac_l", FT_UINT48, BASE_HEX, - NULL, 0x0200000000, NULL, HFILL } }, + NULL, G_GUINT64_CONSTANT(0x0200000000), NULL, HFILL } }, { &hf_bcp_ncp_mac_m, { "M bit", "bcp_ncp.lcp.mac_addre", FT_UINT48, BASE_HEX, - NULL, 0x0100000000, NULL, HFILL } }, + NULL, G_GUINT64_CONSTANT(0x0100000000), NULL, HFILL } }, { &hf_bcp_ncp_stp_prot, { "Protocol", "bcp_ncp.lcp.stp_protocol", FT_UINT8, BASE_DEC, VALS(bcp_ncp_stp_prot_vals), 0x0, NULL, HFILL } }, |