From 6aee3c83262838c5202a1e013845242554b60db2 Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 1 Oct 2008 15:49:16 +0000 Subject: [PATCH 1/1] 64bit portability bug git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5957 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- tools/tesh/tesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1