From 9f0ff99f08707eeb9e4199b734d436218f949229 Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 19 Sep 2019 16:05:07 -0400 Subject: [PATCH] Fix clang error: no matching function for call to 'modf' (nw) --- src/mame/machine/vino.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/machine/vino.cpp b/src/mame/machine/vino.cpp index 010a772ff2d..cb1126cb97e 100644 --- a/src/mame/machine/vino.cpp +++ b/src/mame/machine/vino.cpp @@ -751,8 +751,8 @@ uint32_t vino_device::bilinear_pixel(float s, float t) LOGMASKED(LOG_INPUTS, "%08x, %08x, %08x, %08x\n", p00, p01, p10, p11); float ip = 0.0f; - const float sf = modf(s, &ip); - const float tf = modf(t, &ip); + const float sf = modff(s, &ip); + const float tf = modff(t, &ip); const uint32_t top = linear_rgb(p00, p01, sf); const uint32_t bot = linear_rgb(p10, p11, sf); LOGMASKED(LOG_INPUTS, "%08x, %08x\n", top, bot);