|
From: | Alex Bennée |
Subject: | Re: [PATCH v3 2/5] migration: fix xbzrle encoding rate calculation |
Date: | Wed, 17 Jun 2020 11:54:05 +0100 |
User-agent: | mu4e 1.5.3; emacs 28.0.50 |
Richard Henderson <richard.henderson@linaro.org> writes: > From: Wei Wang <wei.w.wang@intel.com> > > It's reported an error of implicit conversion from "unsigned long" to > "double" when compiling with Clang 10. Simply make the encoding rate 0 > when the encoded_size is 0. > > Fixes: e460a4b1a4 > Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> > Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > Reported-by: Richard Henderson <richard.henderson@linaro.org> > Signed-off-by: Wei Wang <wei.w.wang@intel.com> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |