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>
This commit is contained in:
parent
a1c28c6805
commit
6af3fa00c0
|
@ -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 } },
|
||||
|
|
Loading…
Reference in New Issue