Coverity check please...
James Browning
jamesb192 at jamesb192.com
Tue Jan 21 00:11:47 UTC 2025
On Monday, January 20, 2025 3:39:37 PM Pacific Standard Time Hal Murray via
devel wrote:
> > Still seems like a bug to me. Any potential UB is bad. Should be easy
> > to work around.
>
> Please look at the code. It's only 10 lines.
>
> If you can suggest a fix, I'll try it.
> (I already tried one from James.)
Here is a different one stripped down. I expect it to be met with much
trepidation. The numbers ar that large to be less unclear.
- m = n - ((n*4)/10);
+ m = (n * 60) / 100;
-30-
More information about the devel
mailing list