projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make trace IR API const-correct
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
notification-internal.h
diff --git
a/include/babeltrace/graph/notification-internal.h
b/include/babeltrace/graph/notification-internal.h
index 33debfd00c847972b7354e72e6eb5e295cd6d369..f776f5ec95c7023b050ae3aad9e7f823732a55a8 100644
(file)
--- a/
include/babeltrace/graph/notification-internal.h
+++ b/
include/babeltrace/graph/notification-internal.h
@@
-48,7
+48,7
@@
struct bt_notification {
};
#define BT_ASSERT_PRE_NOTIF_IS_TYPE(_notif, _type) \
};
#define BT_ASSERT_PRE_NOTIF_IS_TYPE(_notif, _type) \
- BT_ASSERT_PRE((
_notif)->type == (_type),
\
+ BT_ASSERT_PRE((
(struct bt_notification *) (_notif))->type == (_type),
\
"Notification has the wrong type: expected-type=%s, " \
"%![notif-]+n", bt_notification_type_string(_type), \
(_notif))
"Notification has the wrong type: expected-type=%s, " \
"%![notif-]+n", bt_notification_type_string(_type), \
(_notif))
This page took
0.040522 seconds
and
4
git commands to generate.