[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] cgroup -Werror fix



On Thu, Oct 08, 2009 at 09:49:45AM -0400, Cole Robinson wrote:
> Building with -Werror, I'm getting this error:
> 
> make[3]: *** [libvirt_lxc-cgroup.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> cc1: warnings being treated as errors
> util/cgroup.c: In function 'virCgroupGetMemoryUsage':
> util/cgroup.c:743: error: passing argument 4 of 'virCgroupGetValueU64'
> from incompatible pointer type
> util/cgroup.c:381: note: expected 'long long unsigned int *' but
> argument is of type 'uint64_t *'
> 
> Patch below fixes it, though I'm not familiar with the code.

ACK, this is fine

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]