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

Wireshark-bugs: [Wireshark-bugs] [Bug 4422] Enhancement: constify parameters

Date: Fri, 2 Apr 2010 15:50:24 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422

--- Comment #32 from Guy Harris <guy@xxxxxxxxxxxx> 2010-04-02 15:50:21 PDT ---
At least for the errors

proto.c(1495) : warning C4028: formal parameter 2 different from declaration
proto.c(1495) : warning C4028: formal parameter 4 different from declaration

the problem appears to be that proto.c was changed to make some parameters to
proto_tree_add_none_format() const but the prototype for
proto_tree_add_none_format() in proto.h was *not* changed.  Perhaps GCC lets
that one by, but MSVC++ doesn't.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.