all: fix a bad function pointer cast

This makes GCC 8 unhappy, almost sad.

Merge request reports

Loading