When I try to cocatenate a character in a buffer to my string, or character array, it gives me the warning. IT is the line where I am using strcat()
fdump.c:57: warning: initialization makes pointer from integer without a cast
here is a snippet of my code that uses this function
str is a char array
and buffer is a buffer.
insertCode:for (i=0; i<bytesRead; i++) { if (19<buffer[i]<127]{ printf["."]; } else{ printf("%s ", buffer[i]); } strcat(str,buffer[i]); bytesPrinted++;