summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7c05495)
raw | patch | inline | side by side (parent: 7c05495)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 Mar 2008 22:57:42 +0000 (22:57 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 Mar 2008 22:57:42 +0000 (22:57 +0000) |
src/rrd_graph.c | patch | blob | history |
diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index 6e1154accb2b3482e9984125ec36698fe4928fb4..0e847869a70984e401520abb293916b46530f5c5 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
if (size > 0) {
im->text_prop[propidx].size = size;
}
- if (strlen(prop) > end) {
+ if ((int) strlen(prop) > end) {
if (prop[end] == ':') {
strncpy(im->text_prop[propidx].font,
prop + end + 1, 255);