Commit d94a533
committed
Properly cast the list_item_t
Technically, the object is a "struct pmix_list_item_t*" in
the pmix_list_t definition because the actual list item
object hasn't been defined yet when we defined the list
structure. So when we access it, we should cast to the
defined object.
Signed-off-by: Ralph Castain <rhc@pmix.org>1 parent 1318c07 commit d94a533
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
734 | | - | |
| 734 | + | |
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| |||
0 commit comments