summaryrefslogtreecommitdiff
path: root/libbcachefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs.h')
-rw-r--r--libbcachefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs.h b/libbcachefs.h
index bea80bb9..99a4c132 100644
--- a/libbcachefs.h
+++ b/libbcachefs.h
@@ -64,7 +64,7 @@ struct dev_opts {
static inline struct dev_opts dev_opts_default()
{
return (struct dev_opts) {
- .data_allowed = ~0 << 2,
+ .data_allowed = ~0U << 2,
};
}