Richard Henderson <[email protected]> writes:

> From: Wei Wang <[email protected]>
>
> 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 <[email protected]>
> Reviewed-by: Richard Henderson <[email protected]>
> Reported-by: Richard Henderson <[email protected]>
> Signed-off-by: Wei Wang <[email protected]>
> Signed-off-by: Richard Henderson <[email protected]>

Reviewed-by: Alex Bennée <[email protected]>

-- 
Alex Bennée

Reply via email to