From 5c1abffdda6100a24011599d9da202396de3588f Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 11 Apr 2019 17:25:53 +0100 Subject: [PATCH] Fix missing const. --- src/test/func/two_alloc_types/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/func/two_alloc_types/main.cc b/src/test/func/two_alloc_types/main.cc index a29a357..9a8c3bb 100644 --- a/src/test/func/two_alloc_types/main.cc +++ b/src/test/func/two_alloc_types/main.cc @@ -48,7 +48,7 @@ int main() std::cout << "Allocated region " << oe_base << " - " << oe_end << std::endl; // Call these functions to trigger asserts if the cast-to-self doesn't work. - PagemapConfig *c; + const PagemapConfig *c; enclave_snmalloc_pagemap_global_get(&c); host_snmalloc_pagemap_global_get(&c);