chiark / gitweb /
bus: rename message "serial" to "cookie"
[elogind.git] / src / shared / capability.c
index f34f6ba6f690c769004cabd7bfad4070f2664a94..72c671cf840a5e159609e8ff7ae6e4eabd294aae 100644 (file)
@@ -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