From dcf236127e35c5f92d8f3d64ffbaa0f839ca768a Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Sat, 19 Jun 2010 20:17:53 +0000 Subject: [PATCH] fix Linux 64-bit compile (no whatsnew) --- src/emu/diimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/diimage.c b/src/emu/diimage.c index 2d4f48dbe8c..48f510ce7b2 100644 --- a/src/emu/diimage.c +++ b/src/emu/diimage.c @@ -311,7 +311,7 @@ const char *device_image_interface::basename_noext() s = astring(basename()); if (s) { - ext = strrchr(s, '.'); + ext = (char *)strrchr(s, '.'); if (ext) *ext = '\0'; }