rem: *p = strtof(s, &r);
add: *p = strtof((char*)s, &r);
context: soap_s2float(struct soap *soap, const char *s, float *p){ if (s)  { if (!soap_tag_cmp(s, "INF"))      *p = FLT_PINFTY;    else if (!soap_tag_cmp(s, "+INF"))      *p = FLT_PINFTY;    else if (!soap_tag_cmp(s, "-INF"))      *p = FLT_NINFTY;    else if (!soap_tag_cmp(s, "NaN"))      *p = FLT_NAN;    else    {#if defined(HAVE_STRTOF)      char *r;      *p = strtof(s, &r);      if (*r)#elif defined(HAVE_STRTOD)      char *r;      *p = (float)strtod(s, &r);      if (*r)#endif#ifdef HAVE_SSCANF        if (sscanf(s, soap->float_format, p) != 1)          soap->error = SOAP_TYPE;#else        soap->error = SOAP_TYPE;#endif    }  }  return soap->error;}