From a15e530be1bba5df7379713dc07f4dedc42db5e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 21 May 2014 06:59:47 +0000 Subject: 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 --- src/core/stdfile/filesenddlg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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]; -- cgit v1.2.3