fixed for x64

pointers on 64 bit have different size