diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-10-10 14:05:36 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-10-10 14:05:36 -0600 |
| commit | 1f2c7e65f33fe0e3ac6537fc93ca89126aefac9a (patch) | |
| tree | d20dfff7b95ae49d0e0c76ebefa58df2e45cd68b /demos/cube.cpp | |
| parent | 5261bcebd17cc4d8ab49892e6facf13a85e79669 (diff) | |
| download | usermoji-1f2c7e65f33fe0e3ac6537fc93ca89126aefac9a.tar.xz | |
demos: Fix Windows build warnrings
Change-Id: I733704e8904a77aa9071565cfc1d18b23b1c0c1c
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 |
