Fix missing const.

This commit is contained in:
David Chisnall
2019-04-11 17:25:53 +01:00
parent 9b3641df91
commit 5c1abffdda

View File

@@ -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);