[Spice-devel] [PATCH linux/vd_agent] vdagentd-proto-strings: Add missing string for VDAGENTD_AUDIO_VOLUME_SYNC
Pavel Grunt
pgrunt at redhat.com
Tue Apr 28 04:02:29 PDT 2015
On Tue, 2015-04-28 at 11:49 +0200, Christophe Fergeau wrote:
> On Tue, Apr 28, 2015 at 05:47:42AM -0400, Marc-André Lureau wrote:
> > Eventually, a static_assert could also help to catch if the enum
> > has the same size as the array.
>
> Yup, this is what I was about to suggest.
>
> Christophe
I agree with you, the crash should be avoided for the future.
Pavel
More information about the Spice-devel
mailing list