From 619d90bccae113e7ba1601e98053addf9fdc4cee Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 25 Oct 2020 23:56:35 +0000 Subject: [PATCH] Make _SNETVERSIONDATA char* fields const Follow-up to https://github.com/diasurgical/devilution/commit/ec329e645c4794b63a8239f6589260ed8a7c0b2 --- structs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/structs.h b/structs.h index 3e37fc907..dbcc3ab2e 100644 --- a/structs.h +++ b/structs.h @@ -1428,10 +1428,10 @@ typedef struct _SNETUIDATA { typedef struct _SNETVERSIONDATA { int size; - char *versionstring; - char *executablefile; - char *originalarchivefile; - char *patcharchivefile; + const char *versionstring; + const char *executablefile; + const char *originalarchivefile; + const char *patcharchivefile; } _SNETVERSIONDATA; // TPDEF PTR FCN UCHAR SNETSPIBIND