mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
(initWithCString:range:): Make arg const.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@130 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ab87e0700d
commit
e7b13a8cb7
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
@implementation CString
|
||||
|
||||
/* This is the designated initializer for this class */
|
||||
- initWithCString: (char*)aCharPtr range: (IndexRange)aRange
|
||||
- initWithCString: (const char*)aCharPtr range: (IndexRange)aRange
|
||||
{
|
||||
[super initWithType:@encode(char)];
|
||||
_count = aRange.length;
|
||||
|
|
Loading…
Reference in a new issue