summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 621e2cf)
raw | patch | inline | side by side (parent: 621e2cf)
author | octo <octo> | |
Fri, 21 Apr 2006 07:37:45 +0000 (07:37 +0000) | ||
committer | octo <octo> | |
Fri, 21 Apr 2006 07:37:45 +0000 (07:37 +0000) |
src/common.c | patch | blob | history |
diff --git a/src/common.c b/src/common.c
index 58db4d8aa0166a51f49100f9c665925b730836de..d1f15513409c137d3430eb3d2420c3f9ec4122dc 100644 (file)
--- a/src/common.c
+++ b/src/common.c
/* 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);