Suppresses warnings about function pointer mismatch. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>