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

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 24 Jan 2002 20:36:02 +0100


Hi,

On Thu, Jan 24, 2002 at 08:12:53AM +0100, Karsten Festag wrote:
> I'll split
>  bit = ++bit % 8;
> in the two lines
>  bit = ++bit;
>  bit %= 8;
> 
> in microtek2.c
> 
> Henning, could you do this for me in CVS?

I don't thin that this makes any difference.

  ++bit;
  bit %= 8;

should work. Or the solution provided by Tim.

Bye,
  Henning