mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
36314e2ab0
commit
f9b8b051b3
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
@implementation CString
|
@implementation CString
|
||||||
|
|
||||||
/* This is the designated initializer for this class */
|
/* 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)];
|
[super initWithType:@encode(char)];
|
||||||
_count = aRange.length;
|
_count = aRange.length;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue