Update and fix for bug #25004

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27257 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-12-08 09:08:05 +00:00
parent 219c8760e9
commit 141bc74c1f
5 changed files with 28 additions and 18 deletions

View file

@ -65,10 +65,10 @@
return nil;
}
- (unsigned int) versionForClassName: (NSString*)className
- (NSInteger) versionForClassName: (NSString*)className
{
[self subclassResponsibility: _cmd];
return NSNotFound;
return (NSInteger)NSNotFound;
}
// Encoding Data
@ -293,8 +293,6 @@
- (unsigned int) systemVersion
{
//PENDING(ABR)- should probably mult major version by 1000, not 100, since,
// e.g., 2.0.0 is going to be <1000
return (((GNUSTEP_BASE_MAJOR_VERSION * 100)
+ GNUSTEP_BASE_MINOR_VERSION) * 100) + GNUSTEP_BASE_SUBMINOR_VERSION;
}