Removed unecessary casts

This commit is contained in:
Frederik Seiffert 2025-03-17 17:24:15 +01:00 committed by Hugo Melder
parent ea92a95c6a
commit 80b54d580d
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ static unsigned systemVersion = MAX_SUPPORTED_SYSTEM_VERSION;
- (NSInteger) versionForClassName: (NSString*)className
{
[self subclassResponsibility: _cmd];
return (NSInteger)NSNotFound;
return NSNotFound;
}
// Encoding Data

View file

@ -1683,7 +1683,7 @@ scalarSize(char type)
info = [objDict objectForKey: className];
if (info == nil)
{
return (NSInteger)NSNotFound;
return NSNotFound;
}
return info->version;
}