Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] packet_memcache.c doesn't compile with VC6

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Speck, Michael" <Michael.Speck@xxxxxxx>
Date: Fri, 6 Mar 2009 16:15:28 +0100

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. 


best regards
Mike


PS: With the patch applied, it also compiles using VS2008EE.

Attachment: packet_memcache_Compiler_error_VC6.patch
Description: packet_memcache_Compiler_error_VC6.patch

  • Follow-Ups:
    • Re: [Wireshark-dev] packet_memcache.c doesn't compile with VC6
      • From: Bill Meier
  • Prev by Date: [Wireshark-dev] Small S5066 issue
  • Next by Date: Re: [Wireshark-dev] Reassembling splitted PPP packets
  • Previous by thread: Re: [Wireshark-dev] Small S5066 issue
  • Next by thread: Re: [Wireshark-dev] packet_memcache.c doesn't compile with VC6
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation