fixed warnings in 64-bit build