[sane-devel] C undefined operations in sane-backends-1.0.7-beta1

Tim Waugh twaugh@redhat.com
Thu, 24 Jan 2002 09:10:49 +0000


--sdOeJE8sLwpQaOMV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Jan 24, 2002 at 08:12:53AM +0100, Karsten Festag wrote:

> in the two lines
>  bit = ++bit;

This will give the same warning of course!

>  bit %= 8;

Why not just use bit = (bit + 1) % 8, which appears to be the intent?

Tim.
*/

--sdOeJE8sLwpQaOMV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8T8+YyaXy9qA00+cRAn2hAKCu5uULGFaFXiIkf1Eb5IsHPnDTgQCgtLNB
Snsqq7qACLMKYMaxVE4/5lM=
=yBzt
-----END PGP SIGNATURE-----

--sdOeJE8sLwpQaOMV--