From 4962654fb68d96a6bb5723e4b648671d3b95eaee Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 9 Oct 2020 04:25:39 +1100 Subject: [PATCH] rendutil.h: C99 doesn't need float-to-double-float for floor. --- src/emu/rendutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/rendutil.h b/src/emu/rendutil.h index c5cdd7d2c4c..9208d729352 100644 --- a/src/emu/rendutil.h +++ b/src/emu/rendutil.h @@ -60,7 +60,7 @@ ru_imgformat render_detect_image(util::core_file &file); static inline float render_round_nearest(float f) { - return floor(f + 0.5f); + return floorf(f + 0.5f); }