I'm looking for some help resolving the following warning...
warning: format ‘%c’ expects type ‘char*’, but argument 6 has type ‘char (*)’
char data [ BLOCK_SIZE ]; sscanf ( inBuf, "%c %c %c %c", &mode, &c, &s, &data );
essentially what happens is inBuf is a 'string' and I want mode, c, s and data to be what's in it.
'data' complains. Can someone help me fix it.