examples/qos_meter: fix color type conversion
authorJasvinder Singh <jasvinder.singh@intel.com>
Fri, 9 Aug 2019 09:37:13 +0000 (10:37 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 10 Aug 2019 22:07:31 +0000 (00:07 +0200)
commitf6feb39c20cec3b520eaaef2dde436379e48330a
tree73a875fc517c5e08a313e60bcac93d33582bcbb3
parent3227d098539a400c617c955c969c3ffe5ba4809b
examples/qos_meter: fix color type conversion

In APP_MODE_SRTCM_COLOR_AWARE mode, sample app compilation fails
due to wrong meter color type conversion.

error log-
/qos_meter/main.c:error: conversion to incomplete type
(enum rte_meter_color) input_color);

Fixes: c1656328dbc2 ("meter: replace color definitions")
Cc: stable@dpdk.org
Reported-by: Yuan Peng <yuan.peng@intel.com>
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/qos_meter/main.c