diff options
Diffstat (limited to 'demos/cube.cpp')
| -rw-r--r-- | demos/cube.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.cpp b/demos/cube.cpp index 2be97bbc..8d410bf7 100644 --- a/demos/cube.cpp +++ b/demos/cube.cpp @@ -2316,7 +2316,7 @@ struct Demo { } // Create window with the registered class: - RECT wr = {0, 0, width, height}; + RECT wr = {0, 0, static_cast<LONG>(width), static_cast<LONG>(height)}; AdjustWindowRect(&wr, WS_OVERLAPPEDWINDOW, FALSE); window = CreateWindowEx(0, name, // class name |
