diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-10 19:45:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-10 19:45:47 +0000 |
commit | 327745289de431e7e7dad6e4ce0eb8cef43eaeb5 (patch) | |
tree | aa13a08178fc072b3e5ca338a9ec39dc0ae223b2 /src/core | |
parent | acbdf5af932c3fc10563bd47216dd7f14f0f5e87 (diff) |
large file support
git-svn-id: http://svn.miranda-ng.org/main/trunk@12084 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdfile/src/filesenddlg.cpp | 4 |
1 files 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
|