[Wireshark-dev] Wireshark PIDL generated dissectors

mmann78 at netscape.net mmann78 at netscape.net
Mon Nov 4 06:25:40 MST 2013

The issue is that Windows treats the guint3264 datatype as a 64-bit value and warns (which gets treated as errors) about the downgrade to a 32-bit value when passing "size" into tvb_new_subset()  and when doing the addition to "offset".  Just a simple cast in both places is enough.

-----Original Message-----
From: Matthieu Patou <mat at samba.org>
To: mmann78 <mmann78 at netscape.net>; wireshark-dev <wireshark-dev at wireshark.org>
Cc: abartlet <abartlet at samba.org>; samba-technical <samba-technical at samba.org>
Sent: Mon, Nov 4, 2013 3:25 am
Subject: Re: [Wireshark-dev] Wireshark PIDL generated dissectors

On 11/03/2013 08:26 AM, mmann78 at netscape.net wrote:
> Matthieu,
> I committed 0010-frsrpc-Regenerate-frsrpc-due-to-changes-in-the-pidl-.patch 
and 0016-Regenerate-the-dnserver.patch with the necessary changes to get it to 
compile on Windows to r53067.  As the commit message mentions, I think the PIDL 
generator may need to be updated in order for dissectors to compile on Windows.
Which changes are needed ?
It shouldn't be too hard to ask politely pidl to generate compatible 
code as long as I know what we have to generate.


Matthieu Patou
Samba Team


More information about the samba-technical mailing list