- gcc didn't like the double(N) syntax that worked ok for VC++. It needs
typecast syntax instead, as in "(double)N"
This commit is contained in:
parent
af48556aea
commit
71e8228866
@ -443,7 +443,7 @@ bx_pc_system_c::timebp_handler(void* this_ptr)
|
||||
|
||||
Bit64u
|
||||
bx_pc_system_c::time_usec() {
|
||||
return (Bit64u) (double(Bit64s(time_ticks())) / m_ips );
|
||||
return (Bit64u) (((double)(Bit64s)time_ticks()) / m_ips );
|
||||
}
|
||||
|
||||
Bit64u
|
||||
|
Loading…
Reference in New Issue
Block a user