Build failure on master with OSX - datetime.hxx
Alexander Thurgood
alex.thurgood at gmail.com
Fri Apr 19 07:53:07 PDT 2013
Le 19/04/13 14:44, Alexander Thurgood a écrit :
> /Users/Shared/Repos/LO/core/tools/inc/tools/time.hxx:81: error: integer
> constant is too large for ‘long’ type
> /Users/Shared/Repos/LO/core/tools/inc/tools/time.hxx:84: error: integer
> constant is too large for ‘long’ type
sal_uInt16 GetHour() const
{ sal_uInt64 nTempTime = (nTime >= 0) ? nTime : -nTime;
return static_cast<sal_uInt16>(nTempTime /
10000000000000); }
sal_uInt16 GetMin() const
{ sal_uInt64 nTempTime = (nTime >= 0) ? nTime : -nTime;
return static_cast<sal_uInt16>((nTempTime /
100000000000) % 100); }
Alex
More information about the LibreOffice
mailing list