diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-10-29 21:48:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-10-29 21:48:37 +0000 |
commit | 9ef5d2a10b7d824079b632dea00a1ea518c650a8 (patch) | |
tree | 55b0928b5142170f3e8e3abac68b80e44b380be1 /epan/dissectors/packet-alcap.c | |
parent | 65207ac4cd2fda28042fdb4125e4bd72b1605139 (diff) |
Use NULL for pointers, 0 for integers, to squelch compiler warnings.
svn path=/trunk/; revision=16359
Diffstat (limited to 'epan/dissectors/packet-alcap.c')
-rw-r--r-- | epan/dissectors/packet-alcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-alcap.c b/epan/dissectors/packet-alcap.c index 976f7119b9..7cd8ff6bfe 100644 --- a/epan/dissectors/packet-alcap.c +++ b/epan/dissectors/packet-alcap.c @@ -1288,7 +1288,7 @@ static alcap_msg_type_info_t msg_types[] = { { "MOA ", PI_CHAT }, { "MOR ", PI_CHAT }, { "MOD ", PI_CHAT }, - { 0, NULL } + { NULL, 0 } }; #define GET_MSG_TYPE(id) ( array_length(msg_types) < id ? &(msg_types[0]) : &(msg_types[id]) ) @@ -1586,7 +1586,7 @@ proto_register_alcap(void) { &hf_alcap_ssisu_max_sssar_bw, { "Maximum Len of SSSAR-SDU Backwards", "alcap.ssisu.sssar.max_len.fw", FT_UINT24, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_alcap_ssisu_ted, { "Transmission Error Detection", "alcap.ssisu.ted", FT_UINT8, BASE_DEC, VALS(enabled_disabled), 0x80, "", HFILL }}, - { &hf_alcap_pt, { "QoS Codepoint", "alcap.pt.codepoint", FT_UINT8, BASE_DEC, 0, NULL, "", HFILL }}, + { &hf_alcap_pt, { "QoS Codepoint", "alcap.pt.codepoint", FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL }}, { &hf_alcap_plc_max_br_fw, { "Maximum Forward Bit Rate", "alcap.plc.bitrate.max.fw", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, { &hf_alcap_plc_max_br_bw, { "Maximum Backwards Bit Rate", "alcap.plc.bitrate.max.bw", FT_UINT16, BASE_DEC, NULL, 0, "", HFILL }}, |