Fix compilation warning with GCC 8
@nicolas.dufresne
Submitted by Nicolas Dufresne Assigned to Nicolas Dufresne @nicolas.dufresne
Description
With GCC 8, the development builds fails due to the new cast-function-type warning. I have fixed this already, will add a differential.