[HarfBuzz] Problem with strtof() (in src/hb-common.cc)
John Emmas
johne53 at tiscali.co.uk
Thu Feb 2 12:03:16 UTC 2017
Hi guys,
When building from git master this morning (with MSVC) I noticed a minor
problem in harfbuzz, src/hb-common.cc (at line 670):-
v = strtof (p, &pend);
For MSVC users, 'strtof()' didn't get introduced until VS2013. Prior to
that, the nearest that MSVC offered was 'strtod()'. Could we maybe
change the above line to this..?
v = (float) strtod (p, &pend);
Best regards,
John Emmas
More information about the HarfBuzz
mailing list