Fix bug in fix16_str_unittests on Windows.

Fixes issue 23.
This commit is contained in:
PetteriAimonen 2013-04-19 19:36:49 +00:00
parent b22e67fbf0
commit 66dcaddf68
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ int main()
*/
fvalue = round(fvalue * 100000.)/100000.;
snprintf(goodbuf, 13, "%0.5lf", fvalue);
snprintf(goodbuf, 13, "%0.5f", fvalue);
fix16_to_str(value, testbuf, 5);
if (strcmp(goodbuf, testbuf) != 0)