Project

General

Profile

Bug #806 » wrong_uint_int_conversion.patch

Jonathan Rajotte, 06/17/2014 09:24 AM

View differences:

src/bin/lttng-sessiond/save.c
goto end;
}
} else {
ret = config_writer_write_element_signed_int(writer,
ret = config_writer_write_element_unsigned_int(writer,
config_element_live_timer_interval, session->live_timer);
if (ret) {
ret = LTTNG_ERR_SAVE_IO_FAIL;
src/bin/lttng-sessiond/session.h
/*
* Timer set when the session is created for live reading.
*/
int live_timer;
unsigned int live_timer;
};
/* Prototypes */
(2-2/2)