Sorry, my silly mistake. But it worked before :)
> > I tried to change the for statement to
> > for (p=totspect;p<totspect+(__xdata*)N;p++)
> > But it is not allowed to add pointers. Can someone help me?
The new code is
p=(__xdata unsigned char *) totspect;
and at least it compiles now.
Thanks a lot