From a0ecc8c4277c5c216915ee60b927aea972c95b25 Mon Sep 17 00:00:00 2001 From: synergy dev Date: Wed, 6 Nov 2013 16:31:54 -0800 Subject: [PATCH] minui: do not use flexible array initialization Avoiding the use of gnu extensions improves code portability Change-Id: I441a49ce08b6ecb1d735ca453552fa92026c5016 --- minui/font_10x18.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minui/font_10x18.h b/minui/font_10x18.h index 7f96465c..29d70534 100644 --- a/minui/font_10x18.h +++ b/minui/font_10x18.h @@ -3,7 +3,7 @@ struct { unsigned height; unsigned cwidth; unsigned cheight; - unsigned char rundata[]; + unsigned char rundata[2973]; } font = { .width = 960, .height = 18,