The following commit has been merged in the openafs-stable-1_6_x branch:
commit 46f6f368a6da15b62beec07bcd3f3f42ca272d94
Author: Simon Wilkinson <[email protected]>
Date: Fri Feb 15 17:22:02 2013 +0000
vol: Don't assume enum is an int
The type that an enum is promoted to for arithmetic is compiler
dependent. We can't assume that it's an int, or a short.
Explicitly cast the volume state enum where clang gets upset.
Reviewed-on: http://gerrit.openafs.org/9137
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
Tested-by: BuildBot <[email protected]>
(cherry picked from commit 304fac42b8cd4a71d0df063cafe88b2888e4d175)
Change-Id: I8c5b3493549ec88727728a7f28e3430660c673b2
Reviewed-on: http://gerrit.openafs.org/10748
Tested-by: BuildBot <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/vol/vnode_inline.h | 2 +-
src/vol/volume.c | 4 ++--
src/vol/volume_inline.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs