From: Behdad Esfahbod Date: Thu, 25 Feb 2010 22:11:14 +0000 (-0500) Subject: Bug 26157 Solaris/Sun C 5.8: compilation of 2.8.0 and 2.7.3 fails X-Git-Tag: root-2~60 X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=commitdiff_plain;h=3cd1e673a9b518784183029d5cc1d2adae0cb29a Bug 26157 Solaris/Sun C 5.8: compilation of 2.8.0 and 2.7.3 fails --- 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 {