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
[mc] Add AddressSpace::process() method
[simgrid.git]
/
src
/
xbt
/
xbt_log_appender_file.c
diff --git
a/src/xbt/xbt_log_appender_file.c
b/src/xbt/xbt_log_appender_file.c
index
d06d9b9
..
5342776
100644
(file)
--- a/
src/xbt/xbt_log_appender_file.c
+++ b/
src/xbt/xbt_log_appender_file.c
@@
-105,7
+105,7
@@
static void append2_file(xbt_log_appender_t this_, char *str) {
fputs(str, d->file);
if(d->count<0){
fputs(APPEND2_END_TOKEN,d->file);
- fseek(d->file,-
strlen(APPEND2_END_TOKEN
),SEEK_CUR);
+ fseek(d->file,-
((signed long)strlen(APPEND2_END_TOKEN)
),SEEK_CUR);
}
}