mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
ipc: Drop u32[2] from image, simply use u64 all the time
This eliminate | ipc_ns.c:287:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] and makes code simplier. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -111,8 +111,8 @@ struct ipc_ns_entry {
|
||||
u32 msg_ctlmnb;
|
||||
u32 msg_ctlmni;
|
||||
u32 auto_msgmni;
|
||||
u32 shm_ctlmax[2];
|
||||
u64 shm_ctlall[2];
|
||||
u64 shm_ctlmax;
|
||||
u64 shm_ctlall;
|
||||
u32 shm_ctlmni;
|
||||
u32 shm_rmid_forced;
|
||||
u32 mq_queues_max;
|
||||
|
Reference in New Issue
Block a user