Mailinglist Archive: opensuse-bugs (14437 mails)

< Previous Next >
[Bug 431922] New: libieee1284-0.2.10-168: 5 * ordered comparison of pointer with integer zero
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 3 Oct 2008 05:18:16 -0600 (MDT)
  • Message-id: <bug-431922-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=431922


Summary: libieee1284-0.2.10-168: 5 * ordered comparison of
pointer with integer zero
Product: openSUSE 11.1
Version: Factory
Platform: All
OS/Version: openSUSE 11.0
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just tried to compile Suse Linux package libieee1284-0.2.10-168
and the compiler said

src/ieee1284module.c:464: warning: ordered comparison of pointer with integer
zero

The source code is

WRITE_FUNCTION(compat_write)

which is a macro. I am guessing, but you might be better off replacing code
like

if (write < 0) { \

with

if (write == 0) { \

in the definition of the WRITE_FUNCTION macro.

More of the same

src/ieee1284module.c:465: warning: ordered comparison of pointer with integer
zero
src/ieee1284module.c:466: warning: ordered comparison of pointer with integer
zero
src/ieee1284module.c:467: warning: ordered comparison of pointer with integer
zero
src/ieee1284module.c:468: warning: ordered comparison of pointer with integer
zero


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >