On 10 Dec 2014, at 09:29, Christoph Moench-Tegeder <c...@burggraben.net> wrote:
> 
> ## Daniel Morante (dan...@morante.net):
> 
>> I have a port that builds fine on a 9.3 amd64, but on 9.3 i386 it fails
>> on this line:
>> 
>> inline int64 GetMaxMoney() { return nBestHeight <= HARDFORK_HEIGHT_1 ?
>> 50000000000 * COIN : 25000000000 * COIN; }
>> 
>> With the following error:
>> 
>> "integer constant is too large for 'long' type"
> 
> I believe the fix is to make sure those constants are interpreted as
> "long long", e.g. by post-fixing LL.

Or by using the ugly-looking, but more portable INT64_C() macro.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to