mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 23:46:26 -05:00
fix minor integer casting issues
This commit is contained in:
parent
a10de2aaf9
commit
1c7de2d83e
2 changed files with 4 additions and 2 deletions
|
|
@ -117,8 +117,10 @@ _getxattr_controlfile_minfreespace(const Config &config,
|
|||
string &attrvalue)
|
||||
{
|
||||
char buf[64];
|
||||
unsigned long long minfreespace;
|
||||
|
||||
snprintf(buf,sizeof(buf),"%li",config.minfreespace);
|
||||
minfreespace = (unsigned long long)config.minfreespace;
|
||||
snprintf(buf,sizeof(buf),"%llu",minfreespace);
|
||||
|
||||
attrvalue = buf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue