diff -ruN vala-master/vapi/gobject-2.0.vapi vala-master-b/vapi/gobject-2.0.vapi
--- vala-master/vapi/gobject-2.0.vapi	2016-08-11 18:23:00.000000000 +0200
+++ vala-master-b/vapi/gobject-2.0.vapi	2016-08-15 01:01:05.242759271 +0200
@@ -126,8 +126,8 @@
 		public unowned GLib.FlagsValue? get_value_by_nick (string name);
 	}
 	[Compact]
-	public class FlagsValue {
-		public int value;
+	public struct FlagsValue {
+		public uint value;
 		public weak string value_name;
 		public weak string value_nick;
 	}
