protocols plugin: Add a plugin which collets protocol information.
[collectd.git] / src / common.c
index ef80885..b37db88 100644 (file)
@@ -253,7 +253,7 @@ int strsplit (char *string, char **fields, size_t size)
                        break;
        }
 
-       return (i);
+       return ((int) i);
 }
 
 int strjoin (char *dst, size_t dst_len,