cast size_t to int to avoid warning -- Florian octo Forster
[rrdtool.git] / src / rrd_graph.c
index 6e1154a..0e84786 100644 (file)
@@ -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);