mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
px4.c: safer portability fix (nw)
This commit is contained in:
parent
d3331b3eed
commit
d2658487c1
@ -590,7 +590,8 @@ WRITE8_MEMBER( px4_state::sior_w )
|
|||||||
// writing clock?
|
// writing clock?
|
||||||
if (m_clock_state > 0)
|
if (m_clock_state > 0)
|
||||||
{
|
{
|
||||||
struct tm *t = localtime((const long int *)&m_time.time);
|
time_t time = m_time.time;
|
||||||
|
struct tm *t = localtime(&time);
|
||||||
|
|
||||||
switch (m_clock_state++)
|
switch (m_clock_state++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user