(main): Portability fix: cast return value from create_func() to proper function-type.

(Logical change 1.70)
1 file changed