diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-05 19:10:22 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-05 19:10:22 +0200 |
commit | 302aedb845a64f511f40251cfad35bbdc04c4dd1 (patch) | |
tree | fdecfb85c0c37dea5436d8c971ef5afca2c2c4d7 /src/common/varint.h | |
parent | Merge pull request #3303 (diff) | |
parent | Correct spelling mistakes. (diff) | |
download | monero-302aedb845a64f511f40251cfad35bbdc04c4dd1.tar.xz |
Merge pull request #3156
fbcc91c2 Correct spelling mistakes. (Edward Betts)
Diffstat (limited to 'src/common/varint.h')
-rw-r--r-- | src/common/varint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/varint.h b/src/common/varint.h index 262bd1360..151d13dbf 100644 --- a/src/common/varint.h +++ b/src/common/varint.h @@ -45,7 +45,7 @@ * is as follows: Strip the msb of each byte, then from left to right, * read in what remains, placing it in reverse, into the buffer. Thus, * the following bit stream: 0xff02 would return 0x027f. 0xff turns - * into 0x7f, is placed on the beggining of the buffer, then 0x02 is + * into 0x7f, is placed on the beginning of the buffer, then 0x02 is * unchanged, since its msb is not set, and placed at the end of the * buffer. */ @@ -108,7 +108,7 @@ namespace tools { return EVARINT_REPRESENT; } - write |= static_cast<T>(byte & 0x7f) << shift; /* Does the actualy placing into write, stripping the first bit */ + write |= static_cast<T>(byte & 0x7f) << shift; /* Does the actually placing into write, stripping the first bit */ /* If there is no next */ if ((byte & 0x80) == 0) { |