A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
64bit portability bug
[simgrid.git]
/
tools
/
tesh
/
tesh.c
diff --git
a/tools/tesh/tesh.c
b/tools/tesh/tesh.c
index
e398041
..
af0ff1a
100644
(file)
--- 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);
}