From 0b61367927c2b77cce75a43e3db0e2a36d1dfe0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 13 Mar 2023 08:51:35 +0800 Subject: Declare products as a pointer so it's assignable --- interchange.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interchange.h b/interchange.h index 2775613..d4d1152 100644 --- a/interchange.h +++ b/interchange.h @@ -23,7 +23,7 @@ struct interchange_product { struct interchange_catalog { size_t length; - struct interchange_product products[]; + struct interchange_product *products; }; /*! -- cgit v1.2.3