hello, I hope someone can help me out as I'm a bit puzzeled by this warning, the warning is
warning: char format, different type arg (arg 3)
I get this from the following code
static int aseGetGEOMOBJECT(FILE *s)
{
char data[255];
int count=0;
rewind (s);
while (!feof (s))
{
fscanf(s, "%s", &data); THIS IS ERROR
if (!strcmp (data,"*GEOMOBJECT")) count++;
}
printf("number of objects %d\n",count);
return(count);
}
Thanks