summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhayleeliu <liuhuailing_123@163.com>2020-04-08 18:20:32 +0800
committerGitHub <noreply@github.com>2020-04-08 18:20:32 +0800
commit51b9de037dc64911430a333c277ac90064c9b834 (patch)
treeac7efec46f686a0df95aff565a4801064c7981d4
parent96688aa6462f330dfd4780d222ce4806d766ff33 (diff)
downloadredis-51b9de037dc64911430a333c277ac90064c9b834.tar.gz
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:
*