From 91a1f1ec28c8e9492079ef25cd36890e1e511f5f Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 2 Jan 2020 11:06:28 +0100 Subject: [PATCH] Const is for the pointee, not the pointer. --- teshsuite/msg/cloud-migration/cloud-migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teshsuite/msg/cloud-migration/cloud-migration.c b/teshsuite/msg/cloud-migration/cloud-migration.c index 1527122ef7..1e27f3b07a 100644 --- a/teshsuite/msg/cloud-migration/cloud-migration.c +++ b/teshsuite/msg/cloud-migration/cloud-migration.c @@ -54,7 +54,7 @@ static int master_main(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[ { msg_host_t pm0 = MSG_host_by_name("Fafard"); msg_host_t pm1 = MSG_host_by_name("Tremblay"); - const sg_host_t pm2 = MSG_host_by_name("Bourassa"); + const_sg_host_t pm2 = MSG_host_by_name("Bourassa"); msg_vm_t vm0 = MSG_vm_create_core(pm0, "VM0"); MSG_vm_set_ramsize(vm0, 1e9); // 1Gbytes -- 2.20.1