Fix: session ID signess to uin64_t in sessiond
[lttng-tools.git] / src / bin / lttng-sessiond / session.h
index a0b24b2d70259af1afc4067518ffcf78b9fb094d..6dd530420aaa540e12bcc452b808f39de48e740b 100644 (file)
@@ -44,7 +44,7 @@ struct ltt_session_list {
         * Session unique ID generator. The session list lock MUST be
         * upon update and read of this counter.
         */
-       unsigned int next_uuid;
+       uint64_t next_uuid;
 
        /* Linked list head */
        struct cds_list_head head;
@@ -66,7 +66,7 @@ struct ltt_session {
        pthread_mutex_t lock;
        struct cds_list_head list;
        int enabled;    /* enabled/started flag */
-       unsigned int id;                /* session unique identifier */
+       uint64_t id;            /* session unique identifier */
        /* UID/GID of the user owning the session */
        uid_t uid;
        gid_t gid;
This page took 0.023136 seconds and 4 git commands to generate.