fixed 64bit compiler wornings