This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Re: java testsuite regressions



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]