Fix typos.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@381 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-04-15 20:52:49 +00:00
parent eb1de91d9d
commit 07904067a4

View file

@ -41,7 +41,7 @@
+ (id) dataWithBytes: (const void*)bytes
length: (unsigned int)length
{
return [[[NSGNUData alloc] initWithBytes:bytes length:length]
return [[[NSGData alloc] initWithBytes:bytes length:length]
autorelease];
}
@ -116,7 +116,7 @@
- (NSString*) description
{
/* xxx worry about escaping, NSString does that? */
return [NSString stringWithBytes:[self bytes] length:[self length]];
return [NSString stringWithCString:[self bytes] length:[self length]];
}
- (void)getBytes: (void*)buffer