Re: [Vala] Vala thinks uint32 constant is int64



Hi,

On Thu, 2010-11-18 at 10:52 +0100, Jaroslav Smid wrote:
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:6.15-6.24: error:
Expected initializer of type `uint32' but got `int64'
        0x243F6A88, 0x85A308D3, 0x13198A2E, 0x03707344,
                    ^^^^^^^^^^

I think it's because this constant is too big to fit a signed int32, so
it's a signed int64 => error.
You should suffix it to explicitly tell it's unsigned to make it fit, I
guess.

        Xav




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]