]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/dynamic-user.h
tree-wide: use unsigned for refcount
[thirdparty/systemd.git] / src / core / dynamic-user.h
index 791a8ba0efd45dfa07edac54adada0b3a5d5b565..112f91e63a03f9e7528c8efb411c8f7a1124e213 100644 (file)
@@ -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