Fixed error on 64 bit architecture