diff options
author | David Robillard <d@drobilla.net> | 2019-01-06 16:18:30 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-06 16:18:30 +0100 |
commit | ba72f5a3c27e51a14b43efb2c44231b6e299ba3f (patch) | |
tree | 68c3df6393c5d5da5c106b95c9b251a4b5fdbe94 /src/node.c | |
parent | 026989b21386d942b3321796bdaa8e576a16b1cb (diff) | |
download | serd-ba72f5a3c27e51a14b43efb2c44231b6e299ba3f.tar.gz serd-ba72f5a3c27e51a14b43efb2c44231b6e299ba3f.tar.bz2 serd-ba72f5a3c27e51a14b43efb2c44231b6e299ba3f.zip |
Fix serd_node_new_decimal() on Windows
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -290,7 +290,7 @@ serd_node_new_decimal(double d, unsigned frac_digits) *s++ = '0'; node.n_bytes = node.n_chars = (s - buf); } else { - uint64_t frac = lround(frac_part * pow(10.0, (int)frac_digits)); + uint64_t frac = llround(frac_part * pow(10.0, (int)frac_digits)); s += frac_digits - 1; unsigned i = 0; |