09/05/2018 13:35, Reshma Pattan:
> Gcc 8.0.1 reports incompatible cast between types i.e. from
> `void (*)(void *)` to `(int (*)(void *)`.
> 
> Change the pipeline_stage prototype to retun int type
> to fix the issue.
> 
> Fixes: a0ffcb257a ("examples/quota_watermark: correct code indentation")
> CC: sta...@dpdk.org
> 
> Signed-off-by: Reshma Pattan <reshma.pat...@intel.com>
> ---
>                       /* typecast is a workaround for GCC 4.3 bug */
> -                     rte_eal_remote_launch((int (*)(void *))pipeline_stage,
> +                     rte_eal_remote_launch(pipeline_stage,
>                                       NULL, lcore_id);

The comment can be removed.

Applied with above fixed, thanks


Reply via email to