Fixed warning running on 64-bit platforms