Commit 6bd51af9 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[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: default avatarAl Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ed7c3529
...@@ -155,8 +155,8 @@ struct atm_iobuf { ...@@ -155,8 +155,8 @@ struct atm_iobuf {
#define ATM_CI_MAX -1 /* use maximum range of VPI/VCI */ #define ATM_CI_MAX -1 /* use maximum range of VPI/VCI */
struct atm_cirange { struct atm_cirange {
char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */ signed char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */
char vci_bits; /* 1..16, 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 */ /* for ATM_SETSC; actually taken from the ATM_VF number space */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment