mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:35:59 +00:00
Fixed the return value in GetFileSize.
svn path=/trunk/; revision=3022
This commit is contained in:
parent
23ed00e90e
commit
e1a2eb2f0b
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: file.c,v 1.33 2002/05/27 18:23:49 hbirr Exp $
|
||||
/* $Id: file.c,v 1.34 2002/06/07 16:54:04 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -346,9 +346,9 @@ GetFileSize(HANDLE hFile,
|
|||
}
|
||||
}
|
||||
if ( lpFileSizeHigh != NULL )
|
||||
*lpFileSizeHigh = FileStandard.AllocationSize.u.HighPart;
|
||||
*lpFileSizeHigh = FileStandard.EndOfFile.u.HighPart;
|
||||
|
||||
return FileStandard.AllocationSize.u.LowPart;
|
||||
return FileStandard.EndOfFile.u.LowPart;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue