pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:265:    my_strcat("([ ])");    return;    }       doing.next=p;    doing.pointer_a=(void *)m;    for(e=0;p;e++,p=p->next)    {    if(p->pointer_a == (void *)m)    { -  sprintf(buf,"@%ld",e); +  sprintf(buf,"@%ld",(long)e);    my_strcat(buf);    return;    }    }    -  sprintf(buf,"([ /* %ld elements */\n", m->ind->size); +  sprintf(buf,"([ /* %ld elements */\n", (long) m->ind->size);    my_strcat(buf);    for(e=0;e<m->ind->size;e++)    {    if(e) my_strcat(",\n");    for(d=0; d<indent; d++) my_putchar(' ');    describe_index(m->ind, e, &doing, indent+2);    my_putchar(':');    describe_index(m->val, e, &doing, indent+2);    }    my_putchar('\n');