aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/utils
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-20 03:30:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-20 03:30:15 +0300
commita41de109962ba24101af54baf8214e302022dd38 (patch)
tree01a9d0f63ea371cc44abcac72a194fb7175f2c7e /src/utils
parenthardening & refactoring (diff)
downloadwinapi-debug-a41de109962ba24101af54baf8214e302022dd38.tar.gz
winapi-debug-a41de109962ba24101af54baf8214e302022dd38.zip
i have no idea how this compiled
Diffstat (limited to 'src/utils')
-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};
}
}
}