mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
smbd: Avoid a (double) cast
We don't need floating point here, intmax_t and %jd should be sufficient Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
This commit is contained in:
parent
2d6d890f45
commit
69d74563ad
@ -3971,9 +3971,9 @@ static NTSTATUS smb_set_file_unix_basic(connection_struct *conn,
|
||||
}
|
||||
|
||||
DBG_DEBUG("SMB_SET_FILE_UNIX_BASIC: name = "
|
||||
"%s size = %.0f, uid = %u, gid = %u, raw perms = 0%o\n",
|
||||
"%s size = %jd, uid = %u, gid = %u, raw perms = 0%o\n",
|
||||
smb_fname_str_dbg(smb_fname),
|
||||
(double)size,
|
||||
(intmax_t)size,
|
||||
(unsigned int)set_owner,
|
||||
(unsigned int)set_grp,
|
||||
(int)raw_unixmode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user