Fix: use uint32_t for metadata_flag in viewer's ABI
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 4 Feb 2014 19:40:50 +0000 (14:40 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 10 Feb 2014 19:55:18 +0000 (14:55 -0500)
This struct is meant to be sent over the network so members should be
of exact-width.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/lttng-viewer-abi.h

index e1ea8a3e581bcce3c63f2feafb3def969fa6690f..fe491cc2bb88f0d30e1e68175c7ea758169829aa 100644 (file)
@@ -117,7 +117,7 @@ struct lttng_viewer_session {
 struct lttng_viewer_stream {
        uint64_t id;
        uint64_t ctf_trace_id;
-       int metadata_flag;
+       uint32_t metadata_flag;
        char path_name[LTTNG_VIEWER_PATH_MAX];
        char channel_name[LTTNG_VIEWER_NAME_MAX];
 } __attribute__((__packed__));
This page took 0.025345 seconds and 4 git commands to generate.