X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Fevent-notifier-notification.c;fp=liblttng-ust%2Fevent-notifier-notification.c;h=b3e2c94f1bd7a2d7180ad64256bcb325ea393e85;hb=4e48b5d2debaf6c0c598489c183cc6cb2125c8a3;hp=b9b0a7c61412d3a392bb95a26cabb439884a039b;hpb=5152f6df156d6ccb234965d1b3d26b167bd6b94e;p=lttng-ust.git diff --git a/liblttng-ust/event-notifier-notification.c b/liblttng-ust/event-notifier-notification.c index b9b0a7c6..b3e2c94f 100644 --- a/liblttng-ust/event-notifier-notification.c +++ b/liblttng-ust/event-notifier-notification.c @@ -64,7 +64,7 @@ void capture_enum(struct lttng_msgpack_writer *writer, static int64_t capture_sequence_element_signed(uint8_t *ptr, - struct lttng_ust_type_integer *integer_type) + const struct lttng_ust_type_integer *integer_type) { int64_t value; unsigned int size = integer_type->size; @@ -113,7 +113,7 @@ int64_t capture_sequence_element_signed(uint8_t *ptr, static uint64_t capture_sequence_element_unsigned(uint8_t *ptr, - struct lttng_ust_type_integer *integer_type) + const struct lttng_ust_type_integer *integer_type) { uint64_t value; unsigned int size = integer_type->size; @@ -164,8 +164,8 @@ static void capture_sequence(struct lttng_msgpack_writer *writer, struct lttng_interpreter_output *output) { - struct lttng_ust_type_integer *integer_type; - struct lttng_ust_type_common *nested_type; + const struct lttng_ust_type_integer *integer_type; + const struct lttng_ust_type_common *nested_type; uint8_t *ptr; bool signedness; int i;