diff --git a/CImg.h b/CImg.h index 5826c91b63b40d55cdb8c966bc8781a2ce24fb7a..2dfb60ce5e4c3047768e3f8fa9c90f40dbad6c4c 100644 --- a/CImg.h +++ b/CImg.h @@ -22949,7 +22949,7 @@ namespace cimg_library_suffixed { char sep; ptrs+=1 + ind; cimg_forX(ss,i) ss[i] = (char)*(ptrs++); ss.back() = 0; - int err = std::sscanf(ss,"%lf%c",&val,&sep); + int err = cimg_sscanf(ss,"%lf%c",&val,&sep); #if cimg_OS==2 // Check for +/-NaN and +/-inf as Microsoft's sscanf() version is not able // to read those particular values.