The value represented by the macro would stay exactly the same, just become obvious.
Signed-off-by: Zoltan Kiss <zoltan.k...@citrix.com> --- lib/odp-util.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/odp-util.h b/lib/odp-util.h index f902b76..16f2b15 100644 --- a/lib/odp-util.h +++ b/lib/odp-util.h @@ -32,7 +32,7 @@ struct nlattr; struct ofpbuf; struct simap; -#define OVSP_NONE ((uint16_t) -1) +#define OVSP_NONE UINT16_MAX static inline uint16_t ofp_port_to_odp_port(uint16_t ofp_port) -- 1.7.0.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev