Skip to content

Commit

Permalink
replace VOID macro w/ TO_VOID
Browse files Browse the repository at this point in the history
  • Loading branch information
gogoex committed Oct 18, 2024
1 parent 1cd8e56 commit 26f2725
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/blsct/external_api/blsct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(...) {}
Expand Down
2 changes: 1 addition & 1 deletion src/blsct/external_api/blsct.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ if (name == nullptr) err(BLSCT_MEM_ALLOC_FAILED);

#define U8C(name) reinterpret_cast<const uint8_t*>(name)

#define VOID(name) reinterpret_cast<void*>(name)
#define TO_VOID(name) reinterpret_cast<void*>(name)

#define UNVOID(T, name) const T* name = reinterpret_cast<const T*>(void_##name)

Expand Down

0 comments on commit 26f2725

Please sign in to comment.