git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
vol: Don't assume enum is an int
[openafs.git]
/
src
/
vol
/
volume_inline.h
diff --git
a/src/vol/volume_inline.h
b/src/vol/volume_inline.h
index
1fc8855
..
7b3b831
100644
(file)
--- a/
src/vol/volume_inline.h
+++ b/
src/vol/volume_inline.h
@@
-424,7
+424,7
@@
VIsOfflineState(VolState state)
static_inline int
VIsValidState(VolState state)
{
- if ((state >= 0) &&
+ if (((int) state >= 0) &&
(state < VOL_STATE_COUNT)) {
return 1;
}