diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-20 03:30:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-20 03:30:15 +0300 |
commit | a41de109962ba24101af54baf8214e302022dd38 (patch) | |
tree | 01a9d0f63ea371cc44abcac72a194fb7175f2c7e | |
parent | hardening & refactoring (diff) | |
download | winapi-debug-a41de109962ba24101af54baf8214e302022dd38.tar.gz winapi-debug-a41de109962ba24101af54baf8214e302022dd38.zip |
i have no idea how this compiled
-rw-r--r-- | src/utils/file.cpp | 4 |
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}; } } } |