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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel