summaryrefslogtreecommitdiffstats
path: root/spice-common
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-09-07 15:56:58 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-09-10 10:09:58 +0200
commitf9d190c66977f4cf49682a2a49615ce7eff24198 (patch)
tree085b1bab4c0674258d82f05731b7816b9733aa91 /spice-common
parent1bcb20fd74502642bc057b16058c89aa43a4b819 (diff)
downloadspice-gtk-f9d190c66977f4cf49682a2a49615ce7eff24198.tar.gz
spice-gtk-f9d190c66977f4cf49682a2a49615ce7eff24198.tar.xz
spice-gtk-f9d190c66977f4cf49682a2a49615ce7eff24198.zip
Fix VD_AGENT_HAS_CAPABILITY use
The 'size' argument to this macro (defined in spice-protocol/spice/vd_agent.h) is the number of 32 bit elements available in its first argument. In channel-main.c it's used most of the time with SpiceMainChannelPrivate::agent_caps which is an uint32_t[VD_AGENT_CAPS_SIZE]. The 'size' argument to pass to VD_AGENT_HAS_CAPABILITY is thus the number of elements in this array, and not sizeof(agent_caps). Fixes rhbz#837545
Diffstat (limited to 'spice-common')
0 files changed, 0 insertions, 0 deletions