From 604a536247797016f2c77ea8e9c8cd76512b739c Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 22 Mar 2024 17:19:18 -0400 Subject: Dynamically allocate Delivery.system.platform array. * This avoids compiler warnings about passing the address to a stack-allocated chunk of member in tpl_register. --- include/deliverable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/deliverable.h b/include/deliverable.h index fda3c94..5b80930 100644 --- a/include/deliverable.h +++ b/include/deliverable.h @@ -40,7 +40,7 @@ struct Delivery { struct System { char *arch; ///< System CPU architecture ident - char platform[DELIVERY_PLATFORM_MAX][DELIVERY_PLATFORM_MAXLEN]; + char **platform; ///< System platform name } system; /*! \struct Storage -- cgit