Use 64-bit LL_MUL instead of LL_MUL32

This commit is contained in:
rjc%netscape.com 1999-07-14 23:43:43 +00:00
Родитель 20ae89b8fc
Коммит 83855ed0c2
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -894,10 +894,11 @@ BookmarkParser::AssertTime(nsIRDFResource* aSource,
if (aTime != 0)
{
// Convert to a date literal
PRInt64 dateVal;
#ifdef BUG_NEEDS_FIXING
LL_MUL32(dateVal, aTime, PR_USEC_PER_SEC); // convert from seconds to microseconds (PRTime)
#endif
PRInt64 dateVal, temp, million;
LL_I2L(temp, aTime);
LL_I2L(million, PR_USEC_PER_SEC);
LL_MUL(dateVal, temp, million); // convert from seconds to microseconds (PRTime)
nsIRDFDate *dateLiteral;
if (NS_FAILED(rv = gRDF->GetDateLiteral(dateVal, &dateLiteral)))