For good measure.
---
 src/util/virconf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/virconf.c b/src/util/virconf.c
index 433b57b..2d42227 100644
--- a/src/util/virconf.c
+++ b/src/util/virconf.c
@@ -1126,7 +1126,7 @@ int virConfGetValueInt(virConfPtr conf,
         return -1;
     }
 
-    *value = cval->l;
+    *value = (int)cval->l;
 
     return 1;
 }
@@ -1174,7 +1174,7 @@ int virConfGetValueUInt(virConfPtr conf,
         return -1;
     }
 
-    *value = cval->l;
+    *value = (unsigned int)cval->l;
 
     return 1;
 }
-- 
2.7.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to