summaryrefslogtreecommitdiffstats
path: root/src/emu/drivenum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/drivenum.cpp')
-rw-r--r--src/emu/drivenum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/drivenum.cpp b/src/emu/drivenum.cpp
index 4f111d35f0f..a23db4c54bc 100644
--- a/src/emu/drivenum.cpp
+++ b/src/emu/drivenum.cpp
@@ -92,7 +92,7 @@ int driver_list::penalty_compare(const char *source, const char *target)
for ( ; *source && *target; target++)
{
// do a case insensitive match
- bool match = (tolower((uint8_t)*source) == tolower((uint8_t)*target));
+ bool const match(tolower(u8(*source)) == tolower(u8(*target)));
// if we matched, advance the source
if (match)