- rtnl_rttable_a2n wants an unsigned int32
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 23 Jan 2007 01:27:17 +0000 (01:27 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 23 Jan 2007 01:27:17 +0000 (01:27 -0000)
networking/libiproute/iprule.c

index 2f3dc9841f5a42a851d8ca84395adc9d471e1db3..abc0e7a8591d934694fabec1db5fcc599b7b9eef 100644 (file)
@@ -256,7 +256,7 @@ static int iprule_modify(int cmd, int argc, char **argv)
                        addattr32(&req.n, sizeof(req), RTA_FLOW, realm);
                } else if (matches(*argv, "table") == 0 ||
                           strcmp(*argv, "lookup") == 0) {
-                       int tid;
+                       unsigned int tid;
                        NEXT_ARG();
                        if (rtnl_rttable_a2n(&tid, *argv))
                                invarg("table ID", *argv);