- r->smallSetUpperBound = (int *)odr_malloc(o, sizeof(int));
- *r->smallSetUpperBound = 0;
- r->largeSetLowerBound = (int *)odr_malloc(o, sizeof(int));
- *r->largeSetLowerBound = 1;
- r->mediumSetPresentNumber = (int *)odr_malloc(o, sizeof(int));
- *r->mediumSetPresentNumber = 0;
- r->replaceIndicator = (int *)odr_malloc(o, sizeof(bool_t));
- *r->replaceIndicator = 1;
+ r->smallSetUpperBound = odr_intdup(o, 0);
+ r->largeSetLowerBound = odr_intdup(o, 1);
+ r->mediumSetPresentNumber = odr_intdup(o, 0);
+ r->replaceIndicator = odr_intdup(o, 1);