rv = 0;
if (str && (str[0] != LOCALNAMEPREFIX)) {
- rv = AGDISC(g, id)->map(AGCLOS(g, id), objtype, str, result,
+ rv = (int) AGDISC(g, id)->map(AGCLOS(g, id), objtype, str, result,
createflag);
if (rv) {
aginternalmapinsert(g, objtype, str, *result);
if (createflag) {
/* get a new anonymous ID, and store in the internal map */
- rv = AGDISC(g, id)->map(AGCLOS(g, id), objtype, NILstr, result,
+ rv = (int) AGDISC(g, id)->map(AGCLOS(g, id), objtype, NILstr, result,
createflag);
if (rv && str)
aginternalmapinsert(g, objtype, str, *result);