mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Convert stdint to short ints
This commit is contained in:
parent
53c5a2cf1e
commit
511bf47af9
63 changed files with 294 additions and 290 deletions
|
|
@ -41,13 +41,13 @@ _create(const Branches::Ptr &branches_,
|
|||
{
|
||||
int rv;
|
||||
int error;
|
||||
uint64_t eplus;
|
||||
u64 eplus;
|
||||
fs::info_t info;
|
||||
Branch *obranch;
|
||||
|
||||
obranch = nullptr;
|
||||
error = ENOENT;
|
||||
eplus = std::numeric_limits<uint64_t>::max();
|
||||
eplus = std::numeric_limits<u64>::max();
|
||||
for(auto &branch : *branches_)
|
||||
{
|
||||
if(branch.ro_or_nc())
|
||||
|
|
@ -84,13 +84,13 @@ _action(const Branches::Ptr &branches_,
|
|||
{
|
||||
int rv;
|
||||
int error;
|
||||
uint64_t eplus;
|
||||
u64 eplus;
|
||||
fs::info_t info;
|
||||
Branch *obranch;
|
||||
|
||||
obranch = nullptr;
|
||||
error = ENOENT;
|
||||
eplus = std::numeric_limits<uint64_t>::max();
|
||||
eplus = std::numeric_limits<u64>::max();
|
||||
for(auto &branch : *branches_)
|
||||
{
|
||||
if(branch.ro())
|
||||
|
|
@ -124,8 +124,8 @@ _search(const Branches::Ptr &branches_,
|
|||
std::vector<Branch*> &paths_)
|
||||
{
|
||||
int rv;
|
||||
uint64_t eplus;
|
||||
uint64_t spaceused;
|
||||
u64 eplus;
|
||||
u64 spaceused;
|
||||
Branch *obranch;
|
||||
|
||||
obranch = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue