diff options
author | 2009-03-12 07:43:03 +0000 | |
---|---|---|
committer | 2009-03-12 07:43:03 +0000 | |
commit | eb539cce9d58a349e0dffff237dc96bb926ca06f (patch) | |
tree | e86162a925dfb228169afd2fb6309cba906400c5 /src/emu/machine/timekpr.c | |
parent | feb4e2c8b368f5ec7f251e764167fd24708700f3 (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.c | 2 |
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) |