From b703e31f292230fdd0c6269c4a649bc6d0f6cd1b Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 25 Mar 2008 22:57:42 +0000 Subject: [PATCH] cast size_t to int to avoid warning -- Florian octo Forster git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1317 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 6e1154a..0e84786 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -4084,7 +4084,7 @@ void rrd_graph_options( 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); -- 2.11.0