From 4e60e59d3956ebb40ba962eecf0da0392ee498d0 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 29 Aug 2010 12:33:33 +0000 Subject: [PATCH] constified basedir member of quakeparms_t git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@305 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/quakedef.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Quake/quakedef.h b/Quake/quakedef.h index a2330c80..a0d76a5e 100644 --- a/Quake/quakedef.h +++ b/Quake/quakedef.h @@ -203,15 +203,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. typedef struct { - char *basedir; - char *userdir; // user's directory on UNIX platforms. + const char *basedir; + const char *userdir; // user's directory on UNIX platforms. // if user directories are enabled, basedir // and userdir will point to different // memory locations, otherwise to the same. - int argc; + int argc; char **argv; void *membase; - int memsize; + int memsize; } quakeparms_t; #include "common.h"