diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-06 01:21:08 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-06 01:21:08 +0200 |
commit | cf8707bf2ede99d8543d806355eee088bdc1376b (patch) | |
tree | 0f1ffc52906d9f66f75631bd97dfb0dcf91989ad /c/debug.cpp | |
parent | c0024748e8ff2f46e5d37a054fa349f24ddc497f (diff) | |
download | EpisodeBrowser-cf8707bf2ede99d8543d806355eee088bdc1376b.tar.gz |
Use typedefs when interacting with Win32 API.
It's not like they're ever going to change the definition of
WORD (knock on wood) -- but I guess it's proper to use them as if
their definitions might change.
Diffstat (limited to 'c/debug.cpp')
-rw-r--r-- | c/debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/debug.cpp b/c/debug.cpp index 35f8933..6b5baff 100644 --- a/c/debug.cpp +++ b/c/debug.cpp @@ -66,9 +66,9 @@ Benchmark::~Benchmark() } } -const char* WmName(const unsigned uMsg) +const char* WmName(const UINT uMsg) { - static const unsigned vKey[] = { + static const UINT vKey[] = { 0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, |