1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-05 08:55:01 -05:00

Fix "integer constant is too large for 'long' type" error

This commit is contained in:
Dmitry Marakasov 2011-08-02 02:49:15 +04:00
parent 318a730c45
commit de868d24c1

View File

@ -1552,7 +1552,7 @@ void make_block(BlockMakeData *data)
/*
Create a block-specific seed
*/
u32 blockseed = (u32)(data->seed%0x100000000) + full_node_min.Z*38134234
u32 blockseed = (u32)(data->seed%0x100000000ULL) + full_node_min.Z*38134234
+ full_node_min.Y*42123 + full_node_min.X*23;
/*