X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbinarywriter.cpp;fp=source%2Fbinarywriter.cpp;h=59ceffecf28b89f405af90c4e6ed559ee12f8aba;hb=ffdab05698de3d2d612f04ffc146381c2362d386;hp=be548446f2f1fca9fb564661d17bec4d686d6d97;hpb=616f6fa9d983da10bf323c45d7a44d94c5a09f1e;p=libs%2Fdatafile.git diff --git a/source/binarywriter.cpp b/source/binarywriter.cpp index be54844..59ceffe 100644 --- a/source/binarywriter.cpp +++ b/source/binarywriter.cpp @@ -167,7 +167,7 @@ void BinaryWriter::write_float(FloatType::Store f) } } - UInt64 encoded = bf.compose(float_precision); + uint64_t encoded = bf.compose(float_precision); for(unsigned i=float_precision/8; i--; ) out.put((encoded>>(i*8))&0xFF); }