aboutsummaryrefslogtreecommitdiff
path: root/src/common/varint.h
diff options
context:
space:
mode:
authorEdward Betts <edward@4angle.com>2018-01-19 07:54:14 +0000
committerEdward Betts <edward@4angle.com>2018-03-05 17:00:40 +0000
commitfbcc91c2a42a3e72d5d4cbaa95294927d1f78d4f (patch)
treefdecfb85c0c37dea5436d8c971ef5afca2c2c4d7 /src/common/varint.h
parentMerge pull request #3303 (diff)
downloadmonero-fbcc91c2a42a3e72d5d4cbaa95294927d1f78d4f.tar.xz
Correct spelling mistakes.
Diffstat (limited to '')
-rw-r--r--src/common/varint.h4
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) {