Skip to content

channel-main: Avoid macro side effects

Frediano Ziglio requested to merge fziglio/spice-gtk:mr_side_effects into master

In big endian system GUINT32_TO_LE macro uses the parameter multiple time causing serial to be incremented multiple times instead of one. Avoid side effects using a temporary variable.

Signed-off-by: Frediano Ziglio fziglio@redhat.com

Merge request reports

Loading