Fix test bug on 32-bit arch.