[sane-devel] wrong assumption on char signedness

2002-10-16 Thread Henning Meier-Geinitz
Hi, On Tue, Oct 15, 2002 at 06:34:44PM -0500, Frank Zago wrote: > Aurelien Jarno wrote: > >-BEGIN PGP SIGNED MESSAGE- > >Hash: SHA1 > > > >Hi all, > > > >In backends/plustek-usbshading.c, in function usb_GetNewOffset, there > >is > > > >if( pcOffset[dw] >= 0 ) > > > >pcOffset[dw] is defi

[sane-devel] wrong assumption on char signedness

2002-10-15 Thread Jaeger, Gerhard
On Tuesday, 15. October 2002 20:17, Till Kamppeter wrote: > Does this affect the Epson Perfection 1260? > > Till At least not on a x86 Linux... Gerhard

[sane-devel] wrong assumption on char signedness

2002-10-15 Thread Till Kamppeter
Does this affect the Epson Perfection 1260? Till Jaeger, Gerhard wrote: > Thanks for the patch, > > I'll check that and will apply or correct in any other way... > Gerhard > > On Tuesday, 15. October 2002 15:32, Aurelien Jarno wrote: > >>Hi all, >> >>In backends/plustek-usbshading.c, in f

[sane-devel] wrong assumption on char signedness

2002-10-15 Thread Jaeger, Gerhard
Thanks for the patch, I'll check that and will apply or correct in any other way... Gerhard On Tuesday, 15. October 2002 15:32, Aurelien Jarno wrote: > Hi all, > > In backends/plustek-usbshading.c, in function usb_GetNewOffset, there > is > > if( pcOffset[dw] >= 0 ) > > pcOffset[dw] is defined as

[sane-devel] wrong assumption on char signedness

2002-10-15 Thread Frank Zago
Aurelien Jarno wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all, > > In backends/plustek-usbshading.c, in function usb_GetNewOffset, there > is > > if( pcOffset[dw] >= 0 ) > > pcOffset[dw] is defined as char. On some architectures (at least arm, > powerpc and s390), char i

[sane-devel] wrong assumption on char signedness

2002-10-15 Thread Aurelien Jarno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, In backends/plustek-usbshading.c, in function usb_GetNewOffset, there is if( pcOffset[dw] >= 0 ) pcOffset[dw] is defined as char. On some architectures (at least arm, powerpc and s390), char is per default unsigned on. This causes a warn