diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-04 16:11:03 +0300 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-04 16:12:37 +0300 |
| commit | 6845df16333e7504abd7cceb2b5cb4e7637c73fb (patch) | |
| tree | 2de6857a5bec4a45d9d9cb89622481f6c422b7a7 /include/winapi/process.hpp | |
| parent | fix compiler warnings (diff) | |
| download | winapi-common-6845df16333e7504abd7cceb2b5cb4e7637c73fb.tar.gz winapi-common-6845df16333e7504abd7cceb2b5cb4e7637c73fb.zip | |
move away from variable-size ints
Diffstat (limited to '')
| -rw-r--r-- | include/winapi/process.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
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)) {} |
