diff --git a/test/fuzz/umfFuzz.cpp b/test/fuzz/umfFuzz.cpp index 360184c731..e8c90e6e74 100644 --- a/test/fuzz/umfFuzz.cpp +++ b/test/fuzz/umfFuzz.cpp @@ -12,7 +12,7 @@ constexpr int MAX_POOLS_ALLOC_SIZE = 1 * 1024; // 1 kB constexpr int MAX_PROVIDER_ALLOC_SIZE = 100 * 1024; // 100 kB int umf_memory_provider_create(TestState &test_state) { - umf_memory_provider_ops_t *provider_ops = umfOsMemoryProviderOps(); + const umf_memory_provider_ops_t *provider_ops = umfOsMemoryProviderOps(); umf_os_memory_provider_params_handle_t params = NULL; umf_result_t res = umfOsMemoryProviderParamsCreate(¶ms); @@ -79,7 +79,7 @@ int umf_pool_create(TestState &test_state) { return -1; } - umf_memory_pool_ops_t *pool_ops = umfScalablePoolOps(); + const umf_memory_pool_ops_t *pool_ops = umfScalablePoolOps(); void *pool_params = NULL; umf_pool_create_flags_t flags = 0; umf_memory_pool_handle_t pool;