Wireshark mailing list archives

VB: [Wireshark-commits] rev 30264: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-dcerpc-ndr.c packet-dcerpc-nt.c packet-dcerpc-samr.c packet-dcerpc.c packet-dcerpc.h /trunk/epan/dissectors/pidl/: samr.cnf


From: "Anders Broman" <a.broman () telia com>
Date: Sat, 3 Oct 2009 16:04:07 +0200

Hi,
This breaks windows compilation:
packet-dcerpc-samr.c(2157) : error C2220: warning treated as error - no
'object' file generated
packet-dcerpc-samr.c(2157) : warning C4244: 'function' : conversion from
'guint64' to 'int', possible loss of data
packet-dcerpc-samr.c(2158) : warning C4244: '+=' : conversion from 'guint64'
to 'int', possible loss of data

I'm not sure about the proper fix
offset += len; ( len 64 bits )
I don't think we can handle 64 bit offsets?
Regards
Anders

-----Ursprungligt meddelande-----
Från: wireshark-commits-bounces () wireshark org
[mailto:wireshark-commits-bounces () wireshark org] För sahlberg () wireshark org
Skickat: den 3 oktober 2009 07:17
Till: wireshark-commits () wireshark org
Ämne: [Wireshark-commits] rev 30264: /trunk/epan/dissectors/
/trunk/epan/dissectors/: packet-dcerpc-ndr.c packet-dcerpc-nt.c
packet-dcerpc-samr.c packet-dcerpc.c packet-dcerpc.h
/trunk/epan/dissectors/pidl/: samr.cnf

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=30264

User: sahlberg
Date: 2009/10/02 10:16 PM

Log:
 rename dissect_ndr_4or8 to   dissect_ndr_uint3264   to match hte name of 
 the new datatype uint3264.
 create a fake guint3264 type as well

Directory: /trunk/epan/dissectors/
  Changes    Path                    Action
  +2 -2      packet-dcerpc-ndr.c     Modified
  +1 -1      packet-dcerpc-nt.c      Modified
  +4 -4      packet-dcerpc-samr.c    Modified
  +19 -19    packet-dcerpc.c         Modified
  +5 -2      packet-dcerpc.h         Modified

Directory: /trunk/epan/dissectors/pidl/
  Changes    Path          Action
  +2 -2      samr.cnf      Modified

___________________________________________________________________________
Sent via:    Wireshark-commits mailing list
<wireshark-commits () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
 
mailto:wireshark-commits-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: