summaryrefslogtreecommitdiff
path: root/ext/encryptors
diff options
context:
space:
mode:
Diffstat (limited to 'ext/encryptors')
-rw-r--r--ext/encryptors/rotn/rotn_encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/encryptors/rotn/rotn_encrypt.c b/ext/encryptors/rotn/rotn_encrypt.c
index 7ff667c619c..8adbbfb4fcd 100644
--- a/ext/encryptors/rotn/rotn_encrypt.c
+++ b/ext/encryptors/rotn/rotn_encrypt.c
@@ -96,7 +96,7 @@ compute_cksum(uint8_t *src, size_t srclen)
sum = 0;
for (i = 0; i < srclen; i++)
sum = ((sum << 3) | (sum >> 29)) ^ src[i];
- return sum;
+ return (sum);
}
static int