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

summaryrefslogtreecommitdiff
path: root/source/core/StarDataStream.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-20 15:00:59 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-20 15:00:59 +1000
commitc1ae23808677028ef6ac1b7f0b19b298d78affc2 (patch)
tree0310c9d5e4673ea49add9791713fdd83b81ed87f /source/core/StarDataStream.cpp
parent9d66acde2ae6896607da953e20ba5bbfc23948f6 (diff)
parent043db1841ee46ace0f6919bfdf6ac20a539faaca (diff)
Merge branch 'voice'
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;
}