[HarfBuzz] Problem with strtof() (in src/hb-common.cc)
John Emmas
johne53 at tiscali.co.uk
Thu Feb 9 07:47:05 UTC 2017
Just wondering if this came through okay..?
The relevant commit was #b3c0714b4b if that helps (21st Jan 2017)
John
On 02/02/2017 12:03, John Emmas wrote:
> 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