diff options
author | Aaron Conole <aconole@bytheb.org> | 2018-01-16 09:05:47 -0500 |
---|---|---|
committer | Justin Pettit <jpettit@ovn.org> | 2018-01-18 12:57:03 -0800 |
commit | 68c5c73b09e46da0b129a79d702e463f32b0e8dc (patch) | |
tree | 7e44d05a477374d9e1e74ac29185560948e1b437 /Documentation/intro/install/fedora.rst | |
parent | 69f7e92f2913a98572522275f8273a0fa34f3472 (diff) | |
download | openvswitch-68c5c73b09e46da0b129a79d702e463f32b0e8dc.tar.gz |
odp-util: Fix compiler warning.
The result of a ternary operation will be promoted at least to int type.
As such, the compiler may generate a warning as: format specifies type
'unsigned char' but the argument has type 'int'
Found with Apple LLVM version 8.1.0 (clang-802.0.42).
Squelch this by preferring the %d format specifier to print 1/0 values.
Fixes: 74c4530dca93 ("ofproto-dpif: Don't slow-path controller actions with pause.")
Cc: Justin Pettit <jpettit@ovn.org>
Signed-off-by: Aaron Conole <aconole@bytheb.org>
Acked-by: Ian Stokes <ian.stokes@intel.com>
Tested-by: Ian Stokes <ian.stokes@intel.com>
Signed-off-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'Documentation/intro/install/fedora.rst')
0 files changed, 0 insertions, 0 deletions