Fixed compiling bug for gcc-2.95.3.

svn path=/trunk/; revision=2052
This commit is contained in:
Eric Kohl 2001-07-11 20:26:58 +00:00
parent 6f0b5babc4
commit 577c72f5b0

View file

@ -1,4 +1,4 @@
/* $Id: dir.c,v 1.10 2001/02/28 22:33:23 ekohl Exp $ /* $Id: dir.c,v 1.11 2001/07/11 20:26:58 ekohl Exp $
* *
* DIR.C - dir internal command. * DIR.C - dir internal command.
* *
@ -810,8 +810,8 @@ DirList (LPTSTR szPath, LPTSTR szFilespec, LPINT pLine, DWORD dwFlags)
count = 0; count = 0;
} }
uliSize.u.LowPart = file.nFileSizeLow; uliSize.LowPart = file.nFileSizeLow;
uliSize.u.HighPart = file.nFileSizeHigh; uliSize.HighPart = file.nFileSizeHigh;
bytecount.QuadPart += uliSize.QuadPart; bytecount.QuadPart += uliSize.QuadPart;
} }
else if (dwFlags & DIR_BARE) else if (dwFlags & DIR_BARE)
@ -841,8 +841,8 @@ DirList (LPTSTR szPath, LPTSTR szFilespec, LPINT pLine, DWORD dwFlags)
if (IncLine (pLine, dwFlags)) if (IncLine (pLine, dwFlags))
return 1; return 1;
uliSize.u.LowPart = file.nFileSizeLow; uliSize.LowPart = file.nFileSizeLow;
uliSize.u.HighPart = file.nFileSizeHigh; uliSize.HighPart = file.nFileSizeHigh;
bytecount.QuadPart += uliSize.QuadPart; bytecount.QuadPart += uliSize.QuadPart;
} }
else else
@ -866,8 +866,8 @@ DirList (LPTSTR szPath, LPTSTR szFilespec, LPINT pLine, DWORD dwFlags)
{ {
ULARGE_INTEGER uliSize; ULARGE_INTEGER uliSize;
uliSize.u.LowPart = file.nFileSizeLow; uliSize.LowPart = file.nFileSizeLow;
uliSize.u.HighPart = file.nFileSizeHigh; uliSize.HighPart = file.nFileSizeHigh;
ConvertULargeInteger (uliSize, buffer, sizeof(buffer)); ConvertULargeInteger (uliSize, buffer, sizeof(buffer));
ConOutPrintf (_T(" %20s"), buffer); ConOutPrintf (_T(" %20s"), buffer);
@ -918,8 +918,8 @@ DirList (LPTSTR szPath, LPTSTR szFilespec, LPINT pLine, DWORD dwFlags)
{ {
ULARGE_INTEGER uliSize; ULARGE_INTEGER uliSize;
uliSize.u.LowPart = file.nFileSizeLow; uliSize.LowPart = file.nFileSizeLow;
uliSize.u.HighPart = file.nFileSizeHigh; uliSize.HighPart = file.nFileSizeHigh;
ConvertULargeInteger (uliSize, buffer, sizeof(buffer)); ConvertULargeInteger (uliSize, buffer, sizeof(buffer));
ConOutPrintf (_T(" %10s "), buffer); ConOutPrintf (_T(" %10s "), buffer);
bytecount.QuadPart += uliSize.QuadPart; bytecount.QuadPart += uliSize.QuadPart;