Skip to content

Remove warning compiling

Frediano Ziglio requested to merge fziglio/vd_agent_win:warning into master

Remove an alignment warning

vdagent/vdagent.cpp: In member function 'bool VDAgent::handle_announce_capabilities(const VDAgentAnnounceCapabilities*, uint32_t)': vdagent/vdagent.cpp:1048:48: warning: taking address of packed member of 'VDAgentAnnounceCapabilities' may result in an unaligned pointer value [-Waddress-of-packed-member] 1048 | _client_caps.assign(announce_capabilities->caps, announce_capabilities->caps + caps_size); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~

Not a real issue, just annoying.

Signed-off-by: Frediano Ziglio freddy77@gmail.com

Merge request reports

Loading