aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/stream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/stream.h b/common/stream.h
index 5655f0fcb4..251995001c 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -266,7 +266,7 @@ public:
* if a read error occurred (for which client code can check by
* calling err() and eos() ).
*/
- uint32 readUint64LE() {
+ uint64 readUint64LE() {
uint64 val;
read(&val, 8);
return FROM_LE_64(val);
@@ -305,7 +305,7 @@ public:
* if a read error occurred (for which client code can check by
* calling err() and eos() ).
*/
- uint32 readUint64BE() {
+ uint64 readUint64BE() {
uint64 val;
read(&val, 8);
return FROM_BE_64(val);