#include <stdint.h>
#include <glib.h>
+#include "lib/func-status.h"
+
struct bt_clock_class {
struct bt_object base;
return bt_common_clock_value_from_ns_from_origin(cc->offset_seconds,
cc->offset_cycles, cc->frequency, ns_from_origin,
- raw_value);
+ raw_value) ? BT_FUNC_STATUS_OVERFLOW : BT_FUNC_STATUS_OK;
}
#endif /* BABELTRACE_TRACE_IR_CLOCK_CLASS_INTERNAL_H */