Re: [libvirt] [PATCH 2/4] Convert various virHash functions to use size_t / uint32

2012-01-26 Thread Daniel P. Berrange
On Wed, Jan 25, 2012 at 11:34:14AM -0700, Eric Blake wrote: On 01/25/2012 09:38 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com In preparation for conversion over to use the Murmurhash3 algorithm, convert various virHash APIs to use size_t or uint32 for their

[libvirt] [PATCH 2/4] Convert various virHash functions to use size_t / uint32

2012-01-25 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com In preparation for conversion over to use the Murmurhash3 algorithm, convert various virHash APIs to use size_t or uint32 for their return values/parameters, instead of the variable size 'unsigned long' or 'int' types --- src/util/cgroup.c |4 +-

Re: [libvirt] [PATCH 2/4] Convert various virHash functions to use size_t / uint32

2012-01-25 Thread Eric Blake
On 01/25/2012 09:38 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com In preparation for conversion over to use the Murmurhash3 algorithm, convert various virHash APIs to use size_t or uint32 for their return values/parameters, instead of the variable size 'unsigned