Fixed 64-bit compilation error