X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d1ee594ab17ae16a853c5bdd11eea066a8ed0414..6aee3c83262838c5202a1e013845242554b60db2:/tools/tesh/tesh.c diff --git a/tools/tesh/tesh.c b/tools/tesh/tesh.c index e3980416f1..af0ff1a8eb 100644 --- a/tools/tesh/tesh.c +++ b/tools/tesh/tesh.c @@ -170,7 +170,7 @@ static void parse_environ(){ for (i=0; environ[i];i++) { p=environ[i]; char *eq = strchr(p,'='); - char *key = bprintf("%.*s",eq-p,p); + char *key = bprintf("%.*s",(int)(eq-p),p); xbt_dict_set(env,key,xbt_strdup(eq+1),xbt_free_f); free(key); }