]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd/fsx.cc: fix int/unsigned long conversion
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 21 May 2015 22:35:46 +0000 (00:35 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 1 Jun 2015 04:59:26 +0000 (06:59 +0200)
commitcc1ff9b4565f7fb9ead97ab7aa5a92597bdd081f
treefe795506156aafeabafd8f5967b4bccd2a64179c
parent05b050f0b60ad313e97c42473d774fd163aab3ec
test/librbd/fsx.cc: fix int/unsigned long conversion

getnum() returns an integer while maxfilelen is a unsinged long.
Use a temp var to be able to check the result of the call.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/librbd/fsx.cc