]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Avoid Coverity SIZEOF_MISMATCH
authorJohn Ferlan <jferlan@redhat.com>
Tue, 1 Sep 2015 11:08:47 +0000 (07:08 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 4 Sep 2015 19:19:04 +0000 (15:19 -0400)
commit11822fff286f72ff24db3c6060107124137ae818
treee44ead74647d17225cc22b4c3ca53d3ce0794939
parentea3c5f25eb94f08d2a54385362c7ad60c6b1854e
lxc: Avoid Coverity SIZEOF_MISMATCH

Commit id '692e9fac7' used virProcessSetNamespaces instead of inlining
the similar functionality; however, Coverity notes that the function
prototype expects a size_t value and not an enum and complains. So,
just typecast the enum as a size_t to avoid the noise.
src/lxc/lxc_container.c