Fix: Missing description NULL check in bt_ctf_clock when serializing
[babeltrace.git] / formats / ctf / ir / event-fields.c
index 14fade72cb41d88e8f4c231e6dfcf8fb153f7c49..52682b65e1cb1330456487598691dcab1a00caac 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * event-fields.c
  *
- * Babeltrace CTF Writer
+ * Babeltrace CTF IR - Event Fields
  *
  * Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
@@ -372,7 +372,7 @@ error:
 }
 
 struct bt_ctf_field *bt_ctf_field_structure_get_field_by_index(
-               struct bt_ctf_field *field, size_t index)
+               struct bt_ctf_field *field, int index)
 {
        int ret;
        const char *field_name;
This page took 0.025328 seconds and 4 git commands to generate.