X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_graph.c;h=0e847869a70984e401520abb293916b46530f5c5;hp=6e1154accb2b3482e9984125ec36698fe4928fb4;hb=b703e31f292230fdd0c6269c4a649bc6d0f6cd1b;hpb=7c054952c4242d13a0b554e1d9c93cb0f9b94427 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);