Skip to content

Commit

Permalink
Fix renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
hmelder committed Sep 8, 2024
1 parent 07d65fa commit 4e9136b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ static struct objc_property_list *upgradePropertyList(struct objc_property_list_
{
return NULL;
}
size_t ARRAY_DATA_SIZE = l->count * sizeof(struct objc_property);
struct objc_property_list *n = calloc(1, sizeof(struct objc_property_list) + ARRAY_DATA_SIZE);
size_t data_size = l->count * sizeof(struct objc_property);
struct objc_property_list *n = calloc(1, sizeof(struct objc_property_list) + data_size);
n->count = l->count;
n->size = sizeof(struct objc_property);
for (int i=0 ; i<l->count ; i++)
Expand Down

0 comments on commit 4e9136b

Please sign in to comment.