summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-05-21 06:59:47 +0000
committerRobert Pösel <robyer@seznam.cz>2014-05-21 06:59:47 +0000
commita15e530be1bba5df7379713dc07f4dedc42db5e6 (patch)
treeb8ee8d31b273e9ff8ac9bb50609ff0442d9232b0
parentdd1d8a14bd64227e60a58157055320ca9a5cd580 (diff)
Fix wrong filesize in send file dialog for big files
git-svn-id: http://svn.miranda-ng.org/main/trunk@9266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/core/stdfile/filesenddlg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdfile/filesenddlg.cpp b/src/core/stdfile/filesenddlg.cpp
index ab9dc3eb57..7f6067dbf7 100644
--- a/src/core/stdfile/filesenddlg.cpp
+++ b/src/core/stdfile/filesenddlg.cpp
@@ -29,7 +29,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static void SetFileListAndSizeControls(HWND hwndDlg, FileDlgData *dat)
{
- int fileCount = 0, dirCount = 0, totalSize = 0, i;
+ int fileCount = 0, dirCount = 0, i;
+ __int64 totalSize = 0;
struct _stat statbuf;
TCHAR str[64];