Apparently gcc 3.4 gives error when not casting a pointer to long.
Found and reported by Noselasd.
This commit is contained in:
Ton Roosendaal 2004-04-21 16:43:51 +00:00
parent f80809825e
commit 562900689a

@ -1187,7 +1187,7 @@ static int iv_finddata(struct IvNode *iv, char *field, int fieldnr)
* in a long string at Windows... so we copy
* the float to a new string then atof... */
i=strpbrk(cpa, ", \n")-cpa;
i= (long)(strpbrk(cpa, ", \n")-cpa);
if (i>63) *fp= 0.0;
else {