On Tue, 29 Apr 2003, Henning Meier-Geinitz wrote: > Hi, >=20 > On Fri, Apr 25, 2003 at 10:54:25AM +0200, Henning Meier-Geinitz wrote: > [rintf()] > > The line is: > >=20 > > int bpp =3D rintf ((float) htonl (res.transfersize) / pixels); > > =20 > > What about this: > >=20 > > 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()? >=20 > I have changed that in CVS now. >=20 > Ciao, > Henning Best regards =09Carsten --=20 Certify your minority, support spyware! Soon to come as TCPA and Palladium from Microsoft & Co.
