From 60e9157699fcc3c0c00a3fcd024ae455eee05f05 Mon Sep 17 00:00:00 2001 From: bzt Date: Wed, 30 Oct 2019 01:37:28 +0100 Subject: [PATCH] Fixed AI_MATKEY list string constant issue. My gcc didn't comply about this --- code/M3D/M3DMaterials.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/M3D/M3DMaterials.h b/code/M3D/M3DMaterials.h index 86a802021..b3c91ab7a 100644 --- a/code/M3D/M3DMaterials.h +++ b/code/M3D/M3DMaterials.h @@ -54,7 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * only once. D.R.Y. and K.I.S.S. */ typedef struct { - char *pKey; + const char *pKey; unsigned int type; unsigned int index; } aiMatProp;