aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/utils/file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/file.cpp b/src/utils/file.cpp
index dba8a38..6157699 100644
--- a/src/utils/file.cpp
+++ b/src/utils/file.cpp
@@ -59,7 +59,7 @@ namespace pdb
if (handle.get() == INVALID_HANDLE_VALUE)
throw error::windows(GetLastError());
- ID id;
+ FILE_ID_INFO id;
if (!GetFileInformationByHandleEx(
handle.get(),
@@ -68,7 +68,7 @@ namespace pdb
sizeof(id)))
throw error::windows(GetLastError());
- return id;
+ return {id};
}
}
}