summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/timekpr.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-03-12 07:43:03 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-03-12 07:43:03 +0000
commiteb539cce9d58a349e0dffff237dc96bb926ca06f (patch)
treee86162a925dfb228169afd2fb6309cba906400c5 /src/emu/machine/timekpr.c
parentfeb4e2c8b368f5ec7f251e764167fd24708700f3 (diff)
Many casts added to the core files, and various other tweaks
to make them compile as either C or C++.
Diffstat (limited to 'src/emu/machine/timekpr.c')
-rw-r--r--src/emu/machine/timekpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/timekpr.c b/src/emu/machine/timekpr.c
index 96e0c675ec7..40c5b975a0f 100644
--- a/src/emu/machine/timekpr.c
+++ b/src/emu/machine/timekpr.c
@@ -308,7 +308,7 @@ static DEVICE_START(timekeeper)
c->month = make_bcd( systime.local_time.month + 1 );
c->year = make_bcd( systime.local_time.year % 100 );
c->century = make_bcd( systime.local_time.year / 100 );
- c->data = auto_malloc( c->size );
+ c->data = (UINT8 *)auto_malloc( c->size );
c->default_data = device->region;
if (c->default_data != NULL)