diff options
author | Simo Sorce <idra@samba.org> | 2007-02-15 16:50:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:59 -0500 |
commit | 29b6971da7270a119adf7ed3818f540c89814973 (patch) | |
tree | 473d12eb08cd0fa48ec253494fb4b954c08639b4 /source3/smbd | |
parent | 9c79a696c08bfb3315c0e259bf19c3f7f5804df8 (diff) | |
download | samba-29b6971da7270a119adf7ed3818f540c89814973.tar.gz samba-29b6971da7270a119adf7ed3818f540c89814973.tar.bz2 samba-29b6971da7270a119adf7ed3818f540c89814973.zip |
r21369: sys_disk_free return type is SMB_BIG_UINT.
Fix dfree_retval to be SMB_BIG_UINT as well,
otherwise we may wrap up on > 2T file systems.
Simo.
(This used to be commit 0bb7f6492ccf4a965d70d43ee1483959c71bcdba)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/dfree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c index dad7d917e8..c488add227 100644 --- a/source3/smbd/dfree.c +++ b/source3/smbd/dfree.c @@ -66,7 +66,7 @@ static void disk_norm(BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree, SMB_BIG_UINT sys_disk_free(connection_struct *conn, const char *path, BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) { - int dfree_retval; + SMB_BIG_UINT dfree_retval; SMB_BIG_UINT dfree_q = 0; SMB_BIG_UINT bsize_q = 0; SMB_BIG_UINT dsize_q = 0; |