Bug 158758

Summary: flphoto-1.3-8: undefined C code
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Marcus Meissner <meissner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-03-16 18:44:59 UTC
I just tried to compile package flphoto-1.3-8 with the GNU C compiler.

It said

Fl_CRW_Image.cxx:767: warning: operation on "prow" may be undefined

The source code is

        *prow++ = (*prow << 2) + ((c >> r) & 3);
 
I agree with the compiler.  Suggest new code

	{
        *prow = (*prow << 2) + ((c >> r) & 3);
		++prow;
	}
Comment 1 Marcus Meissner 2006-03-17 13:15:51 UTC
ack
Comment 2 Marcus Meissner 2006-03-23 12:41:12 UTC
upstream informed, fixed package is in buildsystem.