From e295d8b25c7898827a525f1a772fcb1b297781e8 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@1317 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 6e1154ac..0e847869 100644 --- a/program/src/rrd_graph.c +++ b/program/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.30.2