*
* Babeltrace CTF Writer
*
- * Copyright 2013 EfficiOS Inc.
+ * Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
goto error;
}
+ if (integer_container_type->declaration->id != CTF_TYPE_INTEGER) {
+ goto error;
+ }
+
enumeration = g_new0(struct bt_ctf_field_type_enumeration, 1);
if (!enumeration) {
goto error;