mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
6fd3ce5391
Seeing these with -Wall: ../server/ctdb_call.c:1117:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] record_flags = *(uint32_t *)&c->data[c->keylen + c->datalen]; ^ memcpy() seems to be the easiest way to get fix these. The alternative would be to use unmarshalling functions. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> |
||
---|---|---|
.. | ||
cmdline.c | ||
ctdb_fork.c | ||
ctdb_io.c | ||
ctdb_logging.c | ||
ctdb_ltdb.c | ||
ctdb_message.c | ||
ctdb_util.c | ||
rb_tree.c | ||
rb_tree.h | ||
system_aix.c | ||
system_common.c | ||
system_freebsd.c | ||
system_gnu.c | ||
system_kfreebsd.c | ||
system_linux.c | ||
system_util.c |