summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/Fuzzers/FuzzilliJs.cpp')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzilliJs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
index d96353bb6b..b0a8b221a9 100644
--- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
@@ -73,7 +73,7 @@ extern "C" void __sanitizer_cov_trace_pc_guard_init(uint32_t* start, uint32_t* s
__edges_stop = stop;
// Map the shared memory region
- const char* shm_key = getenv("SHM_ID");
+ char const* shm_key = getenv("SHM_ID");
if (!shm_key) {
puts("[COV] no shared memory bitmap available, skipping");
__shmem = (struct shmem_data*)malloc(SHM_SIZE);
@@ -205,7 +205,7 @@ int main(int, char**)
int result = 0;
- auto js = StringView(static_cast<const unsigned char*>(data_buffer.data()), script_size);
+ auto js = StringView(static_cast<unsigned char const*>(data_buffer.data()), script_size);
auto parse_result = JS::Script::parse(js, interpreter->realm());
if (parse_result.is_error()) {