Commit 84ec9369 authored by Dennis Nienhüser's avatar Dennis Nienhüser Committed by Friedrich W. H. Kossebau
Browse files

Do not truncate large id differences

parent 462f1abe
......@@ -256,7 +256,7 @@ void O5mWriter::writeStringPair(const StringPair &pair, StringTable &stringTable
void O5mWriter::writeSigned(qint32 value, QDataStream &stream) const
void O5mWriter::writeSigned(qint64 value, QDataStream &stream) const
bool const negative = value < 0;
if (negative) {
......@@ -40,7 +40,7 @@ private:
void writeVersion(const OsmPlacemarkData &osmData, QDataStream &stream) const;
void writeTags(const OsmPlacemarkData &osmData, StringTable &stringTable, QDataStream &stream) const;
void writeStringPair(const StringPair &pair, StringTable &stringTable, QDataStream &stream) const;
void writeSigned(qint32 value, QDataStream &stream) const;
void writeSigned(qint64 value, QDataStream &stream) const;
void writeUnsigned(quint32 value, QDataStream &stream) const;
qint32 deltaTo(double value, double previous) const;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment