Apache OpenOffice (AOO) Bugzilla – Issue 23922
64bit: do not add L modifier after constants
Last modified: 2004-02-20 11:07:40 UTC
Hi, the attached patche allow the package project to be compiled on x86_64. On 64bit systems, we will have different types than the current one. sal_Int32 could be different than long then. Please approve for cws_src680_ooo20031216.
Created attachment 12142 [details] Allow compilation on 64bit systems
set target, add approval_pending, dependency
I assume that the L was added to fix compile time warnings? Perhaps we should simply then cast the number as: ::std::min( nSize, (sal_Int32)32000 ) or whatever type ::std::min() requires.
JSI->reporter: Thank you for your support of OOo. All build issues should be better submitted to the 'porting' project. Thank you!
Approved for cws_src680_ooo20031216. Please go ahead.
Fixed in cws_src680_ooo20031216.
Hmm, the same as in 23939 applies - I fixed the compilation by using static_cast.
close issue.