should change all the enums that don't explicitly set their first value to 0. --- server/main_channel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/main_channel.c b/server/main_channel.c index 1a6a89c..080ba1c 100644 --- a/server/main_channel.c +++ b/server/main_channel.c @@ -126,7 +126,7 @@ typedef struct MainChannel { } MainChannel; enum NetTestStage { - NET_TEST_STAGE_INVALID, + NET_TEST_STAGE_INVALID = 0, NET_TEST_STAGE_WARMUP, NET_TEST_STAGE_LATENCY, NET_TEST_STAGE_RATE, -- 1.7.5.1 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel