commit | 90b71828720866e94cb77317fb8b2c361729aceb | [log] [tgz] |
---|---|---|
author | susmit <susmit@cs.colostate.edu> | Sun Mar 20 13:31:23 2016 -0600 |
committer | susmit <susmit@cs.colostate.edu> | Sun Mar 20 13:31:23 2016 -0600 |
tree | 2fac5a28f88dd442b805ef92114ec9ca63808d9e | |
parent | 5f14beed9d71694bfa146613ebf4f884c09ec948 [diff] [blame] |
fix linux compilation bugs
diff --git a/src/fib-status.cpp b/src/fib-status.cpp index eaae8af..8f56483 100644 --- a/src/fib-status.cpp +++ b/src/fib-status.cpp
@@ -65,9 +65,9 @@ if (role == PrefixRole) { return item.prefix(); } else if (role == FaceIdRole) { - return item.faceId(); + return static_cast<uint>(item.faceId()); } else if (role == CostRole) { - return item.cost(); + return static_cast<uint>(item.cost()); } return QVariant();