Fix: use signed member to transport enum value
[lttng-tools.git] / include / lttng / rotate-internal.h
index 74c85b0b648c5093eda2336552b52979e8d012d0..e359cd741050d7a860edacdf08a39d95c3df87a5 100644 (file)
@@ -87,7 +87,7 @@ struct lttng_rotation_get_info_return {
        /* Represents values defined in enum lttng_rotation_state. */
        int32_t status;
        /* Represents values defined in enum lttng_rotation_state. */
-       uint8_t location_type;
+       int8_t location_type;
        union {
                struct {
                        char absolute_path[LTTNG_PATH_MAX];
@@ -98,7 +98,7 @@ struct lttng_rotation_get_info_return {
                         * Represents values defined in
                         * enum lttng_trace_archive_location_relay_protocol_type.
                         */
-                       uint8_t protocol;
+                       int8_t protocol;
                        struct {
                                uint16_t control;
                                uint16_t data;
This page took 0.023895 seconds and 4 git commands to generate.