fixed warning for 64bit compiler