Patch: Re: java testsuite regressions

Adam Megacz gcj@lists.megacz.com
Fri Mar 8 22:46:00 GMT 2002


Sorry, I'm still not very good at switching back and forth between
thinking in Java and thinking in C++...

  - a


Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> -  return tv.tv_sec * 1000 + tv.tv_usec / 1000;
> +  return (tv.tv_sec * 1000LL) + (tv.tv_usec / 1000LL);

> -  return time (NULL) * 1000;
> +  return time (NULL) * 1000LL;

> -  return t.time * 1000 + t.millitm;
> +  return (t.time * 1000LL) + t.millitm;


-- 
"If I put copyrighted material into the 'chewy nougat center', I can
 claim the crunchy chocolate coating is an 'Access Control
 Mechanism'."                                     --lynx_user_abroad

Why Windows NT/2k/XP is unreliable: www.zappadoodle.com



More information about the Java mailing list