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();