Files
libcoap/src
Ivan Grokhotkov 9783d4ed91 coap_debug.c: fix format warning when compiling with GCC 8
When compiling libcoap with format truncation warnings enabled,
GCC warns about the potential issue with "%u.%02u" format string,
since the first argument may produce more than one byte of output:

    error: '%02u' directive output may be truncated writing 2 bytes
    into a region of size between 0 and 3 [-Werror=format-truncation=]

The first argument (class) is limited to 3 bits according to the
specification. Mask the higher bits to fix the warning.
2019-03-28 16:03:44 +08:00
..
2019-03-02 11:43:59 +01:00
2019-01-07 00:51:10 +01:00
2019-03-02 11:43:59 +01:00
2019-03-02 11:43:59 +01:00
2019-01-07 00:51:10 +01:00
2019-02-10 14:47:23 +01:00
2019-01-07 00:51:10 +01:00
2019-01-07 00:51:10 +01:00