Wireshark-dev: Re: [Wireshark-dev] packet_memcache.c doesn't compile with VC6
From: Bill Meier <[email protected]>
Date: Fri, 06 Mar 2009 10:46:08 -0500
Speck, Michael wrote:
Hi.

There is a datatype warning/error by VC6 compiler in file
packet_memcache.c at line 540 where the variable "value_len" is used in
a call to function dissect_value(...). This function expects a guint8,
but value_len is of type guint32.

The attached patch changes this parameter in function definition to
guint32. AFAICS, this change shouldn't be a problem within the function
and makes VC6 compiler happy.
Commited in SVN #27620.

Thanks