summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/di_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/di_ops.c b/src/common/di_ops.c
index 7683c59dee..418d6e3dca 100644
--- a/src/common/di_ops.c
+++ b/src/common/di_ops.c
@@ -123,7 +123,7 @@ tor_memeq(const void *a, const void *b, size_t sz)
*
* If any_difference != 0:
* 0 < any_difference < 256, so
- * 0 < any_difference - 1 < 255
+ * 0 <= any_difference - 1 < 255
* (any_difference - 1) >> 8 == 0
* 1 & ((any_difference - 1) >> 8) == 0
*/