]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
interval_set: fix truncation of _size
authorHenry C Chang <henry.cy.chang@gmail.com>
Thu, 22 Dec 2011 10:47:25 +0000 (18:47 +0800)
committerSage Weil <sage@newdream.net>
Thu, 22 Dec 2011 20:15:04 +0000 (12:15 -0800)
commitea9f2f62c4ec8c6e6baaa53f126c83626a5b6727
treebec305956ad91af4f484d598ff2a31e75bb7cba5
parent002eb5815ef0ff6d7960ebe0bc891a0554ab05ac
interval_set: fix truncation of _size

_size is type of int64_t. Use int to store the value of _size
will cause value truncation.

Signed-off-by: Henry C Chang <henry.cy.chang@gmail.com>
src/include/interval_set.h