[PATCH] atxp1: signed/unsigned char bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux