From 5575a33119853a3ca6d963893f6bf0912cbd4003 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Fri, 7 Jan 2005 23:31:12 +0000 Subject: [PATCH] set hard limit of 128 in nested structure for older gcc --- ipmitool/include/ipmitool/ipmi_pef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipmitool/include/ipmitool/ipmi_pef.h b/ipmitool/include/ipmitool/ipmi_pef.h index da293d8..ce7d672 100644 --- a/ipmitool/include/ipmitool/ipmi_pef.h +++ b/ipmitool/include/ipmitool/ipmi_pef.h @@ -99,7 +99,7 @@ struct bit_desc_map { /* description text container */ #define BIT_DESC_MAP_ANY 0x2 /* bitwise, but only print 1st one */ #define BIT_DESC_MAP_ALL 0x3 /* bitwise, print them all */ uint32_t desc_map_type; - struct desc_map desc_maps[]; + struct desc_map desc_maps[128]; }; static struct bit_desc_map