- 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:
Bryce Denney 2001-08-14 06:24:12 +00:00
parent af48556aea
commit 71e8228866

View File

@ -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