Fixes compile issue on FreeBSD because of float to double conversion by disabling the corresponding compiler warning.