« Previous | Next » 

Revision 675ebef9

ID675ebef9e2801d4a61cbe1cbd54abe01a3b62122

Added by Luiz Capitulino over 14 years ago

monitor: fail when 'i' type is greater than 32-bit

The 'i' argument type is for 32-bit only and most handlers
will use an 'int' to store its value.

It's better to fail gracefully when the user enters a value
greater than 32-bit than to get subtle casting bugs.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences