From 26f27254d05b804822f4eb9dad6b0e5e137fcc61 Mon Sep 17 00:00:00 2001 From: gogoex <110195520+gogoex@users.noreply.github.com> Date: Sat, 19 Oct 2024 06:47:19 +0900 Subject: [PATCH] replace VOID macro w/ TO_VOID --- .cirrus.yml | 2 +- src/blsct/external_api/blsct.cpp | 2 +- src/blsct/external_api/blsct.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index e7cc7fa5d45f9..1af06dd3634f2 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -174,7 +174,7 @@ task: - fallocate -l 16G /swapfile_ci && chmod 600 /swapfile_ci && mkswap /swapfile_ci && swapon /swapfile_ci && ( echo '/swapfile_ci none swap sw 0 0' | tee -a /etc/fstab ) persistent_worker: labels: - type: medium + type: large env: FILE_ENV: "./ci/test/00_setup_env_native_fuzz.sh" diff --git a/src/blsct/external_api/blsct.cpp b/src/blsct/external_api/blsct.cpp index 62be35bf12dc4..be8624a5bc9de 100644 --- a/src/blsct/external_api/blsct.cpp +++ b/src/blsct/external_api/blsct.cpp @@ -505,7 +505,7 @@ BlsctAmountsRetVal* recover_amount( } rv->result = BLSCT_SUCCESS; - rv->value = VOID(result_vec); + rv->value = TO_VOID(result_vec); return rv; } catch(...) {} diff --git a/src/blsct/external_api/blsct.h b/src/blsct/external_api/blsct.h index 3dd39c19bc7db..a418904eaccbb 100644 --- a/src/blsct/external_api/blsct.h +++ b/src/blsct/external_api/blsct.h @@ -111,7 +111,7 @@ if (name == nullptr) err(BLSCT_MEM_ALLOC_FAILED); #define U8C(name) reinterpret_cast(name) -#define VOID(name) reinterpret_cast(name) +#define TO_VOID(name) reinterpret_cast(name) #define UNVOID(T, name) const T* name = reinterpret_cast(void_##name)