looses precision error on x86_64 fixed

During build on x86_64 with strict_warning enabled caused error.