projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
octo@crystal:~/Projects/collectd $ svn merge -r646:651 trunk tags/collectd-3.9.1
[collectd.git]
/
src
/
common.c
diff --git
a/src/common.c
b/src/common.c
index
58db4d8
..
d1f1551
100644
(file)
--- a/
src/common.c
+++ b/
src/common.c
@@
-488,7
+488,7
@@
static int log_create_file (char *filename, char **ds_def, int ds_num)
/* The `%.*s' is needed because there is no null-byte behind
* the name. */
- fprintf(log, ",%.*s", (tmp - name), name);
+ fprintf(log, ",%.*s", (
int) (
tmp - name), name);
}
fprintf(log, "\n");
fclose(log);