Lossy conversion
The parameter timeFromDevice
of method step6CheckTimeACorrespondsToEpochiA
of class ContactProcessor
is an int
, but: it is converted to long within the method, and its caller validateHelloMessage
makes an explicit casts from long
to int
for the call.
The parameter timeFromDevice
must be a long
and the explicit cast must be removed to avoid the lossy conversion.