summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c9ffe16)
raw | patch | inline | side by side (parent: c9ffe16)
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) |
program/src/rrd_graph.c | patch | blob | history |
index 6e1154accb2b3482e9984125ec36698fe4928fb4..0e847869a70984e401520abb293916b46530f5c5 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/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);