Fixed warnings for 64-bits