Messages in this thread |  | | | Date | Sat, 20 Sep 2008 15:34:12 +0100 | | From | Alan Cox <> | | Subject | Re: [PATCH] max3100 driver |
| |
> I do have a question though: what does a signed bitfield of 1 mean? > I mean.. the variables are "int", so signed.... where will the compiler > store the sign bit???
It sign extends so you get 0 or -1. Yes it would be good to use unsigned to avoid suprises.
|  |