don't use NULL to initialise an integer
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Aug 2007 23:36:48 +0000 (23:36 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Aug 2007 23:36:48 +0000 (23:36 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22474 f5534014-38df-0310-8fa8-9805f1628bb7

epan/packet.c

index 9186d9784f62e843ddbfdc7fa3c8bb27c3919021..7960a35ed66c76f1a86353051d8c433a37cdaab9 100644 (file)
@@ -316,8 +316,8 @@ dissect_packet(epan_dissect_t *edt, union wtap_pseudo_header *pseudo_header,
        edt->pi.tcp_tree = NULL;
        edt->pi.dcerpc_procedure_name="";
        edt->pi.sccp_info = NULL;
-       edt->pi.clnp_srcref = NULL;
-       edt->pi.clnp_dstref = NULL;
+       edt->pi.clnp_srcref = 0;
+       edt->pi.clnp_dstref = 0;
        
        TRY {
                edt->tvb = tvb_new_real_data(pd, fd->cap_len, fd->pkt_len);