fix spelling mistake in bitops.c

This commit is contained in:
hayleeliu 2020-04-08 18:20:32 +08:00 committed by antirez
parent e44a318939
commit ebc872725f

View File

@ -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, * then zero is returned, otherwise in case of overflow, 1 is returned,
* otherwise in case of underflow, -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, * set to the value the operation should result when an overflow happens,
* depending on the specified overflow semantics: * depending on the specified overflow semantics:
* *