mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Fix bogus const declarations/casts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc5d7560c9
commit
0c736dac3b
3 changed files with 16 additions and 20 deletions
|
@ -864,7 +864,7 @@ handle_printf_atsign (FILE *stream,
|
|||
{
|
||||
if (length == 0)
|
||||
{
|
||||
return [self initWithBytesNoCopy: (const void *)0
|
||||
return [self initWithBytesNoCopy: (void *)0
|
||||
length: 0
|
||||
encoding: encoding
|
||||
freeWhenDone: NO];
|
||||
|
@ -896,7 +896,7 @@ handle_printf_atsign (FILE *stream,
|
|||
* In the GNUstep implementation, your subclasses may override
|
||||
* this initialiser in order to have all others function.</p>
|
||||
*/
|
||||
- (id) initWithBytesNoCopy: (const void*)bytes
|
||||
- (id) initWithBytesNoCopy: (void*)bytes
|
||||
length: (unsigned int)length
|
||||
encoding: (NSStringEncoding)encoding
|
||||
freeWhenDone: (BOOL)flag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue