]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Fixes for signed char architectures
authorMarc Dionne <marc.c.dionne@gmail.com>
Fri, 20 Aug 2010 20:37:56 +0000 (16:37 -0400)
committerDerrick Brashear <shadow@dementia.org>
Tue, 7 Sep 2010 18:44:26 +0000 (11:44 -0700)
commit96d40120207e7eea31eed0bb408d2d8abfdaba59
tree7a465281ea4c1a6996f85a149e67c9cd1926b97a
parent763d3c9bdc2eea8b94122e2b8a64fee0b84d89a0
Fixes for signed char architectures

"char" is unsigned on s390x, which causes a few warnings where we
test for negative values.

Add a signed modifier in a few cases, and in vos.c replace with an
int to match a similar section of code in the same file.

Mostly a warning fix, but in one case the variable could be used
to return a -1 error value, so it may have caused an actual bug.

Change-Id: I005fbcd7c573735df7403316ec0ced67ee81e559
Reviewed-on: http://gerrit.openafs.org/2602
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit c2be1ee1d726463590ae1272495d102111fdf75b)
Reviewed-on: http://gerrit.openafs.org/2671
src/afs/afs.h
src/rxkad/rxkad.p.h
src/volser/vos.c