[Vala] Vala thinks uint32 constant is int64
- From: Jaroslav Smid <dataman64bit gmail com>
- To: vala-list gnome org
- Subject: [Vala] Vala thinks uint32 constant is int64
- Date: Thu, 18 Nov 2010 10:52:31 +0100
When I compile code with
static const uint32 ORIG_P[18] = {
0x243F6A88, 0x85A308D3, 0x13198A2E, 0x03707344,
0xA4093822, 0x299F31D0, 0x082EFA98, 0xEC4E6C89,
0x452821E6, 0x38D01377, 0xBE5466CF, 0x34E90C6C,
0xC0AC29B7, 0xC97C50DD, 0x3F84D5B5, 0xB5470917,
0x9216D5D9, 0x8979FB1B
};
I get these errors:
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:6.15-6.24: error:
Expected initializer of type `uint32' but got `int64'
0x243F6A88, 0x85A308D3, 0x13198A2E, 0x03707344,
^^^^^^^^^^
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:7.3-7.12: error:
Expected initializer of type `uint32' but got `int64'
0xA4093822, 0x299F31D0, 0x082EFA98, 0xEC4E6C89,
^^^^^^^^^^
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:7.39-7.48: error:
Expected initializer of type `uint32' but got `int64'
0xA4093822, 0x299F31D0, 0x082EFA98, 0xEC4E6C89,
^^^^^^^^^^
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:8.27-8.36: error:
Expected initializer of type `uint32' but got `int64'
0x452821E6, 0x38D01377, 0xBE5466CF, 0x34E90C6C,
^^^^^^^^^^
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:9.3-9.12: error:
Expected initializer of type `uint32' but got `int64'
0xC0AC29B7, 0xC97C50DD, 0x3F84D5B5, 0xB5470917,
^^^^^^^^^^
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:9.15-9.24: error:
Expected initializer of type `uint32' but got `int64'
0xC0AC29B7, 0xC97C50DD, 0x3F84D5B5, 0xB5470917,
^^^^^^^^^^
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:9.39-9.48: error:
Expected initializer of type `uint32' but got `int64'
0xC0AC29B7, 0xC97C50DD, 0x3F84D5B5, 0xB5470917,
^^^^^^^^^^
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:10.3-10.12: error:
Expected initializer of type `uint32' but got `int64'
0x9216D5D9, 0x8979FB1B
^^^^^^^^^^
/home/jardik/Projects/DAOLinux/ErfEditor/Blowfish.vala:10.15-10.24: error:
Expected initializer of type `uint32' but got `int64'
0x9216D5D9, 0x8979FB1B
^^^^^^^^^^
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]