]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rados.py: correct some C types 346/head
authorJosh Durgin <josh.durgin@inktank.com>
Tue, 4 Jun 2013 20:23:36 +0000 (13:23 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 4 Jun 2013 20:23:39 +0000 (13:23 -0700)
commit6dd7d469000144b499af84bda9b735710bb5cec3
treeffc7e361582084ab1c29ad8ea74c1f055865cdde
parent85576dba13e0789657d277a01087cfc7ea2d3b27
rados.py: correct some C types

trunc was getting size_t instead of uint64_t, leading to bad results
in 32-bit environments. Explicitly cast to the desired type
everywhere, so it's clear the correct type is being used.

Fixes: #5233
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/pybind/rados.py