« Previous | Next » 

Revision d2c5efd8

IDd2c5efd89fe319f150aba0b67e394f23f6c07ba6

Added by Stefan Weil almost 14 years ago

Fix comparison which always returned false

Comparing an 8 bit value with ~0 does not work as expected.
Replace ~0 by UINT8_MAX in comparison and also in assignment
(and fix coding style, too).

Cc: Gleb Natapov <>
Cc: Anthony Liguori <>
Signed-off-by: Stefan Weil <>
Signed-off-by: malc <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences