From 327745289de431e7e7dad6e4ce0eb8cef43eaeb5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 10 Feb 2015 19:45:47 +0000 Subject: large file support git-svn-id: http://svn.miranda-ng.org/main/trunk@12084 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdfile/src/filesenddlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/stdfile/src/filesenddlg.cpp b/src/core/stdfile/src/filesenddlg.cpp index bc64d2467a..30eda2fbab 100644 --- a/src/core/stdfile/src/filesenddlg.cpp +++ b/src/core/stdfile/src/filesenddlg.cpp @@ -31,11 +31,11 @@ static void SetFileListAndSizeControls(HWND hwndDlg, FileDlgData *dat) { int fileCount = 0, dirCount = 0, i; __int64 totalSize = 0; - struct _stat statbuf; + struct _stati64 statbuf; TCHAR str[64]; for (i = 0; dat->files[i]; i++) { - if (_tstat(dat->files[i], &statbuf) == 0) { + if (_tstati64(dat->files[i], &statbuf) == 0) { if (statbuf.st_mode & _S_IFDIR) dirCount++; else -- cgit v1.2.3