Description of problem:
I just tried to compile package xsane-0.91-1 from Fedora.
The compiler said
xsane-preview.c:6331: warning: operation on `image_data_rawp' may be
The source code is
level = ((*image_data_rawp++)
+ (*image_data_rawp++)) / 3;
This is undefined C code. The following code is legal, and
perhaps what was intended.
level = ((image_data_rawp[ 0])
+ (image_data_rawp[ 1])
+ (image_data_rawp[ 2])) / 3;
image_data_rawp += 3;
Version-Release number of selected component (if applicable):
Steps to Reproduce:
You already reported this -- and I already fixed it.
*** This bug has been marked as a duplicate of 106314 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.