On Mon, Jun 12, 2000 at 11:18:58AM -0400, Bill Sudbrink wrote:
things converting signed to unsigned values. Try this
instead:
Mem[i+addr] = *((uchar *)(pstrBuffer+i));
or even:
Mem[i+addr] = ((uchar *)pstrBuffer)[i];
This is not correct, the pstrBuffer element you are referring to is not a
pointer but an uchar.
The correct line should be:
Mem[addr+i] = (uchar) *(pstrBuffer+i);
Good luck,
Erik.