Changed signedness of seqlock.sequence fixing comparison-warning
[fio.git] / lib / seqlock.h
index afa9fd318fcaa3df5c7e30ef3e202473ffc20251..56f3e37dab5b35750a390714c3af2d9579de5628 100644 (file)
@@ -5,7 +5,7 @@
 #include "../arch/arch.h"
 
 struct seqlock {
-       volatile int sequence;
+       volatile unsigned int sequence;
 };
 
 static inline void seqlock_init(struct seqlock *s)