summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon A. F. Lund <simon.lund@samsung.com>2020-06-23 19:50:22 +0200
committerSimon A. F. Lund <simon.lund@samsung.com>2020-06-23 20:00:11 +0200
commitecba19b6b71a32b8f5d9f25fae13c8804846c84f (patch)
tree218572f1f68876d41f27a7aa6e6acdf20058a510 /lib
parent5b3da1650f5069547712d993b6096291d3b2bb14 (diff)
downloadfio-ecba19b6b71a32b8f5d9f25fae13c8804846c84f.tar.gz
fio-ecba19b6b71a32b8f5d9f25fae13c8804846c84f.tar.bz2
Changed signedness of seqlock.sequence fixing comparison-warning
Signed-off-by: Simon A. F. Lund <simon.lund@samsung.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/seqlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/seqlock.h b/lib/seqlock.h
index afa9fd31..56f3e37d 100644
--- a/lib/seqlock.h
+++ b/lib/seqlock.h
@@ -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)