summaryrefslogtreecommitdiff
path: root/src/shared/capability.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/capability.c')
-rw-r--r--src/shared/capability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/capability.c b/src/shared/capability.c
index f34f6ba6f6..72c671cf84 100644
--- a/src/shared/capability.c
+++ b/src/shared/capability.c
@@ -137,7 +137,7 @@ int capability_bounding_set_drop(uint64_t drop, bool right_now) {
r = -errno;
goto finish;
}
- v = i;
+ v = (cap_value_t) i;
/* Also drop it from the inheritable set, so
* that anything we exec() loses the