summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2020-04-10 10:15:25 +0200
committerGitHub <noreply@github.com>2020-04-10 10:15:25 +0200
commit767977c5332cb690ad1432983146b672ca515afe (patch)
tree847bfb97444da66d7bbbd16910d0109bf9bedffc
parent839bbcb039bddc3e49f00633879be5317ebdf829 (diff)
parent51b9de037dc64911430a333c277ac90064c9b834 (diff)
downloadredis-767977c5332cb690ad1432983146b672ca515afe.tar.gz
Merge pull request #7074 from hayleeliu/unstable
fix spelling mistake in bitops.c
-rw-r--r--src/bitops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitops.c b/src/bitops.c
index f78e4fd34..496d78b66 100644
--- a/src/bitops.c
+++ b/src/bitops.c
@@ -269,7 +269,7 @@ int64_t getSignedBitfield(unsigned char *p, uint64_t offset, uint64_t bits) {
* then zero is returned, otherwise in case of overflow, 1 is returned,
* otherwise in case of underflow, -1 is returned.
*
- * When non-zero is returned (oferflow or underflow), if not NULL, *limit is
+ * When non-zero is returned (overflow or underflow), if not NULL, *limit is
* set to the value the operation should result when an overflow happens,
* depending on the specified overflow semantics:
*