Fixed bug on 32 bits.