[lm-sensors] [PATCH] atxp1: signed/unsigned char bug
Alexey Dobriyan
adobriyan at gmail.com
Thu Jul 27 22:36:52 CEST 2006
On Thu, Jul 27, 2006 at 10:28:49PM +0200, Jean Delvare wrote:
> > On Thu, Jul 27, 2006 at 08:20:53PM +0200, Jean Delvare wrote:
> > > > vid_to_reg() can return -1 and char can be unsigned.
> > >
> > > What does it take for char be unsigned? Never seen that.
> >
> > Cross-gcc for arm here. That's how it was noticed.
>
> I'd call it a bug.
C standard explicitly says that "char" equivalence to either
"signed char" or "unsigned char" is implementation defined.
But, yes, it's confusing.
More information about the lm-sensors
mailing list