X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Ftest_ust_data_trace.c;h=e4d42b40ab3b148a78a66d9352436979fbfd870f;hp=4e4b29b32852ad7a571caa9ee6e212f19c6f67e1;hb=10a8a2237343699e3923d87e24dbf2d7fe225377;hpb=734f79bf717d87817623d382c59086dc9e8ef610 diff --git a/tests/test_ust_data_trace.c b/tests/test_ust_data_trace.c index 4e4b29b32..e4d42b40a 100644 --- a/tests/test_ust_data_trace.c +++ b/tests/test_ust_data_trace.c @@ -25,10 +25,11 @@ #include #include -#include "lttng/lttng.h" -#include "lttng-sessiond/lttng-ust-abi.h" -#include "lttng-share.h" -#include "lttng-sessiond/trace-ust.h" +#include +#include +#include +#include + #include "utils.h" /* This path will NEVER be created in this test */ @@ -176,7 +177,7 @@ static void create_ust_context(void) PRINT_OK(); printf("Validating UST context: "); - assert(ctx.ctx == uctx->ctx.ctx); + assert((int) ctx.ctx == (int)uctx->ctx.ctx); PRINT_OK(); }