Case alignment to uint for metadata print
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 Jun 2011 20:09:45 +0000 (16:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 Jun 2011 20:09:45 +0000 (16:09 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-events.c

index a4bc1544189acb35fe623ccba2a59186257b0f16..2693dc2cad729dd63794fd70d8f21499c25edea5 100644 (file)
@@ -472,7 +472,7 @@ int _ltt_field_statedump(struct ltt_session *session,
                        "               integer { size = %u; align = %u; signed = %u; encoding = %s; base = %u;%s } __%s_length;\n",
                        "               integer { size = %u; align = %u; signed = %u; encoding = %s; base = %u;%s } %s[ __%s_length ];\n",
                        length_type->u.basic.integer.size,
-                       length_type->u.basic.integer.alignment,
+                       (unsigned int) length_type->u.basic.integer.alignment,
                        length_type->u.basic.integer.signedness,
                        (length_type->u.basic.integer.encoding == lttng_encode_none)
                                ? "none"
@@ -487,7 +487,7 @@ int _ltt_field_statedump(struct ltt_session *session,
 #endif
                        field->name,
                        elem_type->u.basic.integer.size,
-                       elem_type->u.basic.integer.alignment,
+                       (unsigned int) elem_type->u.basic.integer.alignment,
                        elem_type->u.basic.integer.signedness,
                        (elem_type->u.basic.integer.encoding == lttng_encode_none)
                                ? "none"
This page took 0.026872 seconds and 4 git commands to generate.