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] buildbot failure in Wireshark (development) on Visual-Studio

From: Chris Maynard <chris.maynard@xxxxxxxxx>
Date: Tue, 29 Mar 2011 01:06:20 +0000 (UTC)
Chris Maynard <chris.maynard@...> 
writes:

> I added a cast that fixes it.  I'm not 
100% sure why the warning, but I think it
> might be because the multiplication 
operation promotes the guint8's to int's.

In fact, that is the case.  See: http://
msdn.microsoft.com/en-us/library/
k630sk6z(v=VS.100).aspx