git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added targets to test links
[sliver-openvswitch.git]
/
lib
/
ofp-actions.h
diff --git
a/lib/ofp-actions.h
b/lib/ofp-actions.h
index
b97afd0
..
ca33ca8
100644
(file)
--- a/
lib/ofp-actions.h
+++ b/
lib/ofp-actions.h
@@
-582,7
+582,7
@@
void *ofpact_put(struct ofpbuf *, enum ofpact_type, size_t len);
ofpact_get_##ENUM(const struct ofpact *ofpact) \
{ \
ovs_assert(ofpact->type == OFPACT_##ENUM); \
- return
(struct STRUCT *) ofpact;
\
+ return
ALIGNED_CAST(struct STRUCT *, ofpact);
\
} \
\
static inline struct STRUCT * \