Commits

Sebastian Freundt committed e17b3d3

hygiene, follow strpt_s' union wrap of flags field in strpd_s

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>

Comments (0)

Files changed (1)

lib/date-core-strpf.h

 	signed int c;
 	signed int w;
 	/* general flags */
-	struct {
-		unsigned int ab:1;
-		unsigned int bizda:1;
-		unsigned int d_dcnt_p:1;
-		unsigned int c_wcnt_p:1;
-		unsigned int wk_cnt:2;/*%C,%W,%U,%V*/
-		unsigned int real_y_in_q:1;
+	union {
+		unsigned int u;
+		struct {
+			unsigned int ab:1;
+			unsigned int bizda:1;
+			unsigned int d_dcnt_p:1;
+			unsigned int c_wcnt_p:1;
+			unsigned int wk_cnt:2;/*%C,%W,%U,%V*/
+			unsigned int real_y_in_q:1;
+		};
 	} flags;
 	signed int b;
 	signed int q;