summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2026-08-25 16:51:12 -0300
committerFrederico Linhares <fred@linhares.blue>2026-08-25 16:51:12 -0300
commit606914c474e341d415df4ed486a2597ded65642b (patch)
treeae2d17f33edefc60c7d5693d4e6fb3c6c818a29b
parent6deda4129825b4b77fb7179f43d4bb7a755c4813 (diff)
fixt Use correct return type for read_ui16HEADmaster
-rw-r--r--src/blu_cat/com/binary_reader.cpp2
-rw-r--r--src/blu_cat/com/binary_reader.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/blu_cat/com/binary_reader.cpp b/src/blu_cat/com/binary_reader.cpp
index d572ec9..f58eba3 100644
--- a/src/blu_cat/com/binary_reader.cpp
+++ b/src/blu_cat/com/binary_reader.cpp
@@ -67,7 +67,7 @@ BinaryReader::read_ui8()
return this->data[this->_pointer++];
}
-UI32
+UI16
BinaryReader::read_ui16()
{
UI8 b1{this->data[_pointer++]}, b2{this->data[_pointer++]};
diff --git a/src/blu_cat/com/binary_reader.hpp b/src/blu_cat/com/binary_reader.hpp
index 7b7309c..56668ac 100644
--- a/src/blu_cat/com/binary_reader.hpp
+++ b/src/blu_cat/com/binary_reader.hpp
@@ -42,7 +42,7 @@ public:
UI8
read_ui8();
- UI32
+ UI16
read_ui16();
UI32