diff --git a/src/lib/util/corealloc.cpp b/src/lib/util/corealloc.cpp index eb6ebe80b37..9d14671000f 100644 --- a/src/lib/util/corealloc.cpp +++ b/src/lib/util/corealloc.cpp @@ -17,7 +17,7 @@ void *operator new(std::size_t n) void *const result(std::malloc(n)); if (result) { - std::fill_n(reinterpret_cast(result), n, g_mame_new_prefill_byte); + std::fill_n(reinterpret_cast(result), n, g_mame_new_prefill_byte); return result; } else