提交 1835cd53 编写于 作者: A Andrea Bolognani

util: conf: Add integer casts

For good measure.
上级 3742cec8
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册