app/compress-perf: fix reliance on integer endianness
authorArtur Trybula <arturx.trybula@intel.com>
Tue, 4 Jun 2019 12:41:01 +0000 (14:41 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 5 Jul 2019 13:28:14 +0000 (15:28 +0200)
commit1f04178dd583ed18269bdd2ef81fc28515fbc6cc
tree14b61fa42c35ce4e4e6922330e1259e234163045
parent5908e7e837a62fe62c48094d8c2e947242f8fac3
app/compress-perf: fix reliance on integer endianness

Reliance on integer endianness (INCOMPATIBLE_CAST) in function
*parse_window_sz*.

Coverity issue: 328524
Fixes: e0b6287c035d ("app/compress-perf: add parser")
Cc: stable@dpdk.org
Signed-off-by: Artur Trybula <arturx.trybula@intel.com>
Acked-by: Shally Verma <shallyv@marvell.com>
app/test-compress-perf/comp_perf_options_parse.c