From 4ee19586a3766760062574413ebb784858d17b76 Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Sun, 15 Feb 2015 23:54:04 +0100 Subject: [PATCH] Put the elements of rgba_t in the right order. Thanks to @mrshankly for noticing it --- bar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bar.c b/bar.c index 656a6bd..4f4e21f 100644 --- a/bar.c +++ b/bar.c @@ -44,9 +44,9 @@ typedef struct area_t { typedef union rgba_t { struct { - uint8_t r; - uint8_t g; uint8_t b; + uint8_t g; + uint8_t r; uint8_t a; }; uint32_t v;