Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarDataStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarDataStream.cpp')
-rw-r--r--source/core/StarDataStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarDataStream.cpp b/source/core/StarDataStream.cpp
index c8d50a4..834f4de 100644
--- a/source/core/StarDataStream.cpp
+++ b/source/core/StarDataStream.cpp
@@ -205,7 +205,7 @@ size_t DataStream::readVlqU(uint64_t& i) {
size_t bytesRead = Star::readVlqU(i, makeFunctionInputIterator([this]() { return this->read<uint8_t>(); }));
if (bytesRead == NPos)
- throw DataStreamException("Error reading VLQ encoded intenger!");
+ throw DataStreamException("Error reading VLQ encoded integer!");
return bytesRead;
}
@@ -214,7 +214,7 @@ size_t DataStream::readVlqI(int64_t& i) {
size_t bytesRead = Star::readVlqI(i, makeFunctionInputIterator([this]() { return this->read<uint8_t>(); }));
if (bytesRead == NPos)
- throw DataStreamException("Error reading VLQ encoded intenger!");
+ throw DataStreamException("Error reading VLQ encoded integer!");
return bytesRead;
}