diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2014-08-10 10:08:52 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-09-16 04:47:15 -0700 |
commit | b30f9e56cd92906ccb97e046b8928d7de76b4b50 (patch) | |
tree | 744af182ac309350f8270d3f4c1d3df571a3fa53 /xlators/cluster/afr/src/afr-transaction.c | |
parent | c7437f35df1127c05a4df0f7bf3ae95b71b7831e (diff) |
Do not assume sizeof(size_t)
This fixes an assumption that sizeof(size_t) == sizeof(uint64_t), which
is not guaranteed. At least on NetBSD/i386, size_t is 32 bit long.
Caught by tests/basics/file-snapshot.t
BUG: 764655
Change-Id: Ib7620a2ffe8758521886af37bc280101a040d860
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/8441
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-transaction.c')
0 files changed, 0 insertions, 0 deletions