diff options
| author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-03-19 14:00:20 +0100 |
|---|---|---|
| committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-03-19 14:00:20 +0100 |
| commit | cc92ee388c44240042aa718e3b5dee955eb8e50a (patch) | |
| tree | 16be34a6e985347b7d3a3b09a8c89a5c78dac2ff /tests/topotests/example-test/test_example.py | |
| parent | 1f7170c3bdebb23aacd3a32794bc1baf8ec4b40d (diff) | |
bgpd: use the right format specifier
Fixes:
/Library/Developer/CommandLineTools/usr/bin/make all-am
CC bgpd/bgp_attr.o
bgpd/bgp_attr.c:2664:5: warning: format specifies type 'unsigned char' but the argument has type 'uint16_t' (aka 'unsigned short') [-Wformat]
length, STREAM_READABLE(peer->curr));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/log.h:94:50: note: expanded from macro 'flog_err'
zlog_err("[EC %" PRIu32 "] " format, ferr_id, ##__VA_ARGS__)
~~~~~~ ^~~~~~~~~~~
1 warning generated.
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions
