Fix float type casting in eprotoc.