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:
Richard Frith-MacDonald 2006-05-20 09:56:49 +00:00
parent cc5d7560c9
commit 0c736dac3b
3 changed files with 16 additions and 20 deletions

View file

@ -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