* Richard Henderson (richard.hender...@linaro.org) wrote: > On 6/7/20 5:53 PM, Wei Wang wrote: > > 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 > > Reported-by: Richard Henderson <richard.hender...@linaro.org> > > Signed-off-by: Wei Wang <wei.w.w...@intel.com> > > --- > > migration/ram.c | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > Queuing to a clang 10 fixes branch.
Thanks Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> Dave > > > r~ > -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK