Add required cast in case nil is not defined as id

This commit is contained in:
Frederik Seiffert 2021-11-11 16:56:23 +01:00 committed by Frederik Seiffert
parent b55ee6b0c5
commit 0af2c6de72
2 changed files with 2 additions and 2 deletions

View file

@ -853,7 +853,7 @@ static NSMapTable *globalClassMap = 0;
// Add markers for unencoded objects.
for (i = 1; i < count; i++)
{
GSIArrayAddItem(_objMap, (GSIArrayItem)nil);
GSIArrayAddItem(_objMap, (GSIArrayItem)(id)nil);
}
}
}