From 25e7dd2bebbcfc0e116c55b95c809086d1a3a9c8 Mon Sep 17 00:00:00 2001 From: mccallum Date: Thu, 22 Feb 1996 15:13:13 +0000 Subject: [PATCH] ([BinaryCStream -decodeValueOfCType:at:withName:]): Make save_type const. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@942 72102866-910b-0410-8b05-ffd578937521 --- Source/BinaryCStream.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/BinaryCStream.m b/Source/BinaryCStream.m index b641b64e5..8a2bf7d41 100644 --- a/Source/BinaryCStream.m +++ b/Source/BinaryCStream.m @@ -370,7 +370,7 @@ static BOOL debug_binary_coder; /* xxx Do we need to allocate space just like char* ? No. */ int acc_size = 0; int align; - char *save_type = type; + const char *save_type = type; while (*type != _C_STRUCT_E && *type++ != '='); /* skip "=" */ [self decodeName:namePtr];