Fix warnings in 64bit