#1326 closed defect (fixed)

cpukit/libi2c/libi2c.c unsigned expression < 0 is always false

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: score Version: 4.9
Severity: blocker Keywords:
Cc: Blocked By:


cpukit/libi2c/libi2c.c:665: warning: comparison of unsigned expression < 0 is always false

This warning has to be taken seriously, because it likely means non-functionality.

Apparent cause is libi2c.c treating rtems_status_code as "signed int", while it actually is an enum.

I consider this bug to be an rtems-4.9.0 release blocker.

Change History (1)

comment:1 Changed on Mar 12, 2009 at 1:13:35 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

This appears to have been resolved. People are using this code and I don't see the warning.

Note: See TracTickets for help on using tickets.