summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/spu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/spu.c')
-rw-r--r--src/emu/sound/spu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/spu.c b/src/emu/sound/spu.c
index b22f0d61b48..f6ee4e95a49 100644
--- a/src/emu/sound/spu.c
+++ b/src/emu/sound/spu.c
@@ -319,7 +319,7 @@ public:
if (ref_count==0)
{
cache_size-=(dend-data)<<1;
- global_free(const_cast<sample_cache*>(this));
+ global_free(this);
}
}