From 6bd51af907a2e57285087f7e18b7b4abbf97f870 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Fri, 30 Jul 2004 08:49:25 -0700 Subject: [PATCH] signed char portability fix code using atm_cirange fields assumes that they are signed; make that explicit by s/char/signed char/. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- include/linux/atmdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux') diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h index ad454dadd221..35d22064cc14 100644 --- a/include/linux/atmdev.h +++ b/include/linux/atmdev.h @@ -155,8 +155,8 @@ struct atm_iobuf { #define ATM_CI_MAX -1 /* use maximum range of VPI/VCI */ struct atm_cirange { - char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */ - char vci_bits; /* 1..16, ATM_CI_MAX (-1) for maximum */ + signed char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */ + signed char vci_bits; /* 1..16, ATM_CI_MAX (-1) for maximum */ }; /* for ATM_SETSC; actually taken from the ATM_VF number space */ -- cgit v1.2.3