-Werror,-Wliteral-conversion (implicit conversion from double to long)

Change-Id: I89095491d67c382a0b3280755d723039f48229f1