aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/winapi/error.hpp3
-rw-r--r--include/winapi/process.hpp5
2 files changed, 5 insertions, 3 deletions
diff --git a/include/winapi/error.hpp b/include/winapi/error.hpp
index 89bcfed..a14d333 100644
--- a/include/winapi/error.hpp
+++ b/include/winapi/error.hpp
@@ -9,6 +9,7 @@
#include <windows.h>
+#include <cstdint>
#include <sstream>
#include <stdexcept>
#include <string>
@@ -23,7 +24,7 @@ public:
const char* name() const BOOST_NOEXCEPT_OR_NOTHROW { return "Windows"; }
- std::string message(int) const;
+ std::string message(int32_t) const;
};
inline const CategoryWindows& category_windows() {
diff --git a/include/winapi/process.hpp b/include/winapi/process.hpp
index db5f5d1..2e1420f 100644
--- a/include/winapi/process.hpp
+++ b/include/winapi/process.hpp
@@ -15,6 +15,7 @@
#include <windows.h>
+#include <cstdint>
#include <string>
#include <utility>
@@ -89,8 +90,8 @@ public:
static std::string get_exe_path();
- static Resource get_resource(unsigned int id);
- static std::string get_resource_string(unsigned int id);
+ static Resource get_resource(uint32_t id);
+ static std::string get_resource_string(uint32_t id);
private:
explicit Process(Handle&& handle) : m_handle(std::move(handle)) {}