Wireshark-bugs: [Wireshark-bugs] [Bug 6475] Decoding of new properties in BACnet Packets

Date: Fri, 20 Jul 2012 03:54:55 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6475

Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darkjames-ws@xxxxxxxxxxxx

--- Comment #7 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-07-20 03:54:53 PDT ---
clang-3.1 gives interesting error:

packet-bacapp.c:7164:103: error: adding 'guint8' (aka 'unsigned char') to a
string does not append to the string [-Werror,-Wstring-plus-int]
    label = ep_strdup_printf( "%s: ", val_to_str_const( tag_no,
VALS(BACnetPropertyStates), "unknown-"+tag_no ));

I don't know if it should be "unknown-tag_no" or "unknown-tag %u" or what.

But "unknown-" + x for sure is incrorrect ;-)

Lori, please fix it.

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