ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Wireshark PIDL generated dissectors

Date: Mon, 4 Nov 2013 08:25:40 -0500 (EST)
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@xxxxxxxxx>
To: mmann78 <mmann78@xxxxxxxxxxxx>; wireshark-dev <wireshark-dev@xxxxxxxxxxxxx>
Cc: abartlet <abartlet@xxxxxxxxx>; samba-technical <samba-technical@xxxxxxxxx>
Sent: Mon, Nov 4, 2013 3:25 am
Subject: Re: [Wireshark-dev] Wireshark PIDL generated dissectors

On 11/03/2013 08:26 AM, mmann78@xxxxxxxxxxxx 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

-- 
Matthieu Patou
Samba Team
http://samba.org