summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/common/checksum/RTSha256Digest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/common/checksum/RTSha256Digest.cpp')
-rw-r--r--src/VBox/Runtime/common/checksum/RTSha256Digest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Runtime/common/checksum/RTSha256Digest.cpp b/src/VBox/Runtime/common/checksum/RTSha256Digest.cpp
index 59d29b69239..6d6ec7b7ac3 100644
--- a/src/VBox/Runtime/common/checksum/RTSha256Digest.cpp
+++ b/src/VBox/Runtime/common/checksum/RTSha256Digest.cpp
@@ -127,7 +127,7 @@ RTR3DECL(int) RTSha256DigestFromFile(const char *pszFile, char **ppszDigest, PFN
if (pfnProgressCallback)
{
uint64_t cbFile;
- rc = RTFileGetSize(hFile, &cbFile);
+ rc = RTFileQuerySize(hFile, &cbFile);
if (RT_FAILURE(rc))
{
RTFileClose(hFile);