wireshark-dev August 2010 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: Re: [Wireshark-dev] did anybody have build error

Re: [Wireshark-dev] did anybody have build error like this ?

From: Guy Harris <guy_at_nospam>
Date: Mon Aug 23 2010 - 19:04:11 GMT
To: Developer support list for Wireshark <wireshark-dev@wireshark.org>

On Aug 23, 2010, at 11:43 AM, Anders Broman wrote:

> Raytman, Oleg skrev 2010-08-20 16:18:
> I'm not sure any one has tried to build for Win64 with MSVC 8, the official build is done with MSVC 9.

It might be that later versions of MSVC are smart enough to realize that

        {very small integer} - {size_t % very small integer}

can be no larger than {very small integer}, and therefore that the value in question will always fit in an 8-bit integer, given that {very small integer} is, in this case 8.

However, I'm not sure why we're using a guint8 for the pad variable in the first place....

___________________________________________________________________________
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