X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3da1cd09e83a5351eea22b0fb8a5a9d42acbf609..fcdb9f4662d2d1f9fe3848ccf07b808b6b2959a5:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 5fde71bdc4..0b22eb91fb 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -468,7 +468,7 @@ void xbt_log_init(int *argc,char **argv) { if (strncmp(argv[i],"--log=",strlen("--log="))) WARN2("Option %.*s is deprecated and will disapear in the future. Use --log instead.", - strchr(argv[i],'=')-argv[i],argv[i]); + (int)(strchr(argv[i],'=')-argv[i]),argv[i]); opt=strchr(argv[i],'='); opt++;