mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
fix implicit conversion (#2661)
Co-authored-by: LaserEyess <LaserEyess@users.noreply.github.com>
This commit is contained in:
parent
06065af5eb
commit
a660485c4a
1 changed files with 1 additions and 1 deletions
|
@ -957,7 +957,7 @@ bool preallocate_fallocate64(tr_sys_file_t handle, uint64_t size)
|
||||||
#ifdef HAVE_XFS_XFS_H
|
#ifdef HAVE_XFS_XFS_H
|
||||||
bool full_preallocate_xfs(tr_sys_file_t handle, uint64_t size)
|
bool full_preallocate_xfs(tr_sys_file_t handle, uint64_t size)
|
||||||
{
|
{
|
||||||
if (!platform_test_xfs_fd(handle)) // true if on xfs filesystem
|
if (platform_test_xfs_fd(handle) == 0) // true if on xfs filesystem
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue