From f9eaeed428ca3561e883ff8033ac4b4f0d122249 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 9 Jan 2012 14:42:15 +0100 Subject: [PATCH 1/1] =?utf8?q?Fix=20error:=20passing=20argument=203=20of?= =?utf8?q?=20=E2=80=98xbt=5Fdict=5Fset=E2=80=99=20discards=20=E2=80=98cons?= =?utf8?q?t=E2=80=99=20qualifier=20from=20pointer=20target=20type.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/instr/instr_resource_utilization.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instr/instr_resource_utilization.c b/src/instr/instr_resource_utilization.c index 3b19236a67..acf1a4c249 100644 --- a/src/instr/instr_resource_utilization.c +++ b/src/instr/instr_resource_utilization.c @@ -36,7 +36,7 @@ static void __TRACE_surf_check_variable_set_to_zero(double now, container_t container = getContainerByName (resource); type_t type = getVariableType (variable, NULL, container->type); new_pajeSetVariable (now, container, type, 0); - xbt_dict_set(platform_variables, key, "", NULL); + xbt_dict_set(platform_variables, key, (char*)"", NULL); } xbt_free(key); } -- 2.20.1