All pastes #93485 Raw Edit

Unnamed

public text v1 · immutable
#93485 ·published 2006-07-20 14:12 UTC
rendered paste body
byte READBYTE(byte ** from) // line 105
{
	byte *from_tmp = *from;
	byte b;
	memcpy (&b, from_tmp, sizeof (byte));
	from_tmp++;
	*from = (void *)from_tmp;
	return b;
}

produces:

byteptr.c:105: error: syntax error before ‘*’ token
byteptr.c:109: error: syntax error before ‘&’ token
byteptr.c:111: warning: type defaults to ‘int’ in declaration of ‘from’