From 3cd1e673a9b518784183029d5cc1d2adae0cb29a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 25 Feb 2010 17:11:14 -0500 Subject: [PATCH] Bug 26157 Solaris/Sun C 5.8: compilation of 2.8.0 and 2.7.3 fails --- src/fcint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fcint.h b/src/fcint.h index 233b4c3..8e80d1e 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -253,7 +253,7 @@ struct _FcExprPage { FcExprPage *next_page; FcExpr *next; FcExpr exprs[(1024 - 2/* two pointers */ - 2/* malloc overhead */) * sizeof (void *) / sizeof (FcExpr)]; - FcExpr end[0]; + FcExpr end[]; }; typedef enum _FcQual { -- 2.39.2