Fixed (hopefully) crash on 64-bit.