Cosmetic fix - use the correct union field, not an explicit cast.

main
theraven 15 years ago
parent 789219a2cb
commit f0974cb415

@ -61,7 +61,7 @@ static const char *sel_getNameNonUnique(SEL sel)
if (isSelRegistered(sel)) if (isSelRegistered(sel))
{ {
struct sel_type_list * list = struct sel_type_list * list =
SparseArrayLookup(selector_list, (uint32_t)(uintptr_t)sel->name); SparseArrayLookup(selector_list, sel->index);
name = (list == NULL) ? NULL : list->value; name = (list == NULL) ? NULL : list->value;
} }
if (NULL == name) if (NULL == name)

Loading…
Cancel
Save