projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev-linux: Fix strict aliasing warnings.
[openvswitch]
/
ovsdb
/
mutation.c
diff --git
a/ovsdb/mutation.c
b/ovsdb/mutation.c
index 72d7d0caf29781a52c2949cf87c0a95f8d1f84c6..9f09d594197712b71755aaf565daa2310e5d83cb 100644
(file)
--- a/
ovsdb/mutation.c
+++ b/
ovsdb/mutation.c
@@
-310,7
+310,7
@@
mutate_scalar(const struct ovsdb_type *dst_type, struct ovsdb_datum *dst,
}
}
}
}
- error = ovsdb_datum_sort(dst, dst_type);
+ error = ovsdb_datum_sort(dst, dst_type
->key.type
);
if (error) {
ovsdb_error_destroy(error);
return ovsdb_error("constraint violation",
if (error) {
ovsdb_error_destroy(error);
return ovsdb_error("constraint violation",