Hello,
I am wondering what does this warning actually mean and how can I get rid of it?
warning C4047: '==' : 'int' differs in levels of indirection from 'void *'
This part of code coses the problem. It's looking for the error in the input:
Code:
else if (strcmp(str,"LI")==0)
{
if ((fscanf(acc_file,"%d", &x_start) == NULL) || (fscanf(acc_file,"%d", &y_start) == NULL) ||
(fscanf(acc_file,"%d", &x_finish) == NULL) || (fscanf(acc_file,"%d", &y_finish) == NULL) ||
(fscanf(acc_file,"%d", &line_colour.red) == NULL) || (fscanf(acc_file,"%d", &line_colour.green) == NULL) ||
(fscanf(acc_file,"%d", &line_colour.blue) == NULL))
{
c=1;
break;
}
DrawLine(x_start, y_start, x_finish, y_finish, line_colour);
}