[sane-devel] hp5400_internal.c rintf()
Wed, 30 Apr 2003 01:06:54 +0200
On Tue, 29 Apr 2003, Henning Meier-Geinitz wrote:
> On Fri, Apr 25, 2003 at 10:54:25AM +0200, Henning Meier-Geinitz wrote:
> > The line is:
> > int bpp =3D rintf ((float) htonl (res.transfersize) / pixels);
> > =20
> > What about this:
> > int bpp =3D (int) (float) htonl (res.transfersize) / pixels + 0.5=
Although this might yield the same result, but
are you sure you don't mean ntohl() instead of htonl()?
> I have changed that in CVS now.
Certify your minority, support spyware!
Soon to come as TCPA and Palladium from Microsoft & Co.