]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: cast -1 for uid_t|gid_t
authorPhilipp Hahn <hahn@univention.de>
Fri, 22 Feb 2013 16:41:32 +0000 (17:41 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 25 Feb 2013 14:46:32 +0000 (15:46 +0100)
commit5474870cdaecbfd8ed4a4934213803e7376ec5b3
treefd7b0128c1bb9e98322fa0e994478a2e422d97c5
parent81af880a6f5608b240097b775c194b33ed2bd420
storage: cast -1 for uid_t|gid_t

uid_t and gid_t are opaque types, ranging from s32 to u32 to u64.

Explicitly cast the magic -1 to the appropriate type.

Signed-off-by: Philipp Hahn <hahn@univention.de>
src/conf/storage_conf.c
src/storage/storage_backend.c
src/util/virutil.c