summaryrefslogtreecommitdiff
path: root/src/crc64.c
diff options
context:
space:
mode:
authorsundb <sundbcn@gmail.com>2021-11-16 14:55:10 +0800
committerGitHub <noreply@github.com>2021-11-16 08:55:10 +0200
commite725d737fb2ee492fbcd04bb7deb1696d7e182d1 (patch)
treeb84ce135e03c4e9708ec250671c95b5f9130f5a8 /src/crc64.c
parentaba70df48f2ca8a567d2c11d34fb768bf764c487 (diff)
downloadredis-e725d737fb2ee492fbcd04bb7deb1696d7e182d1.tar.gz
Add --large-memory flag for REDIS_TEST to enable tests that consume more than 100mb (#9784)
This is a preparation step in order to add a new test in quicklist.c see #9776
Diffstat (limited to 'src/crc64.c')
-rw-r--r--src/crc64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crc64.c b/src/crc64.c
index d4db4158e..73e039145 100644
--- a/src/crc64.c
+++ b/src/crc64.c
@@ -127,10 +127,10 @@ uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l) {
#include <stdio.h>
#define UNUSED(x) (void)(x)
-int crc64Test(int argc, char *argv[], int accurate) {
+int crc64Test(int argc, char *argv[], int flags) {
UNUSED(argc);
UNUSED(argv);
- UNUSED(accurate);
+ UNUSED(flags);
crc64_init();
printf("[calcula]: e9c6d914c4b8d9ca == %016" PRIx64 "\n",
(uint64_t)_crc64(0, "123456789", 9));