summaryrefslogtreecommitdiff
path: root/src/core/dynamic-user.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-08-27 13:48:04 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-08-27 13:48:04 +0900
commitcf4b2f9906c596b9e0d5f2ae8fbdc9f4e4bc2864 (patch)
tree1208b8c317c34875a5dabb19a36ff4f5f36e94e7 /src/core/dynamic-user.h
parent56663345dfb1dd3ff23cac5fbc955aba54477efa (diff)
downloadsystemd-cf4b2f9906c596b9e0d5f2ae8fbdc9f4e4bc2864.tar.gz
tree-wide: use unsigned for refcount
Diffstat (limited to 'src/core/dynamic-user.h')
-rw-r--r--src/core/dynamic-user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dynamic-user.h b/src/core/dynamic-user.h
index 791a8ba0ef..112f91e63a 100644
--- a/src/core/dynamic-user.h
+++ b/src/core/dynamic-user.h
@@ -15,7 +15,7 @@ typedef struct DynamicCreds {
* used. This means, if you want to allocate a group and user pair, and they might have two different names, then you
* need to allocated two of these objects. DynamicCreds below makes that easy. */
struct DynamicUser {
- int n_ref;
+ unsigned n_ref;
Manager *manager;
/* An AF_UNIX socket pair that contains a datagram containing both the numeric ID assigned, as well as a lock