graph: use unsigned ints
[fio.git] / graph.c
diff --git a/graph.c b/graph.c
index 3e76fa914b3c78df751f3bc544b1c20f33ec226d..18d47dec1559510adb886796d5f8081e6327a2f8 100644 (file)
--- a/graph.c
+++ b/graph.c
@@ -53,13 +53,13 @@ struct graph {
        char *title;
        char *xtitle;
        char *ytitle;
-       int xdim, ydim;
+       unsigned int xdim, ydim;
        struct graph_label *labels;
        struct graph_label *tail;
        int per_label_limit;
 };
 
-struct graph *graph_new(int xdim, int ydim)
+struct graph *graph_new(unsigned int xdim, unsigned int ydim)
 {
        struct graph *g;