aboutsummaryrefslogtreecommitdiff
path: root/demos/cube.cpp
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2016-10-10 14:05:36 -0600
committerMark Lobodzinski <mark@lunarg.com>2016-10-10 14:05:36 -0600
commit1f2c7e65f33fe0e3ac6537fc93ca89126aefac9a (patch)
treed20dfff7b95ae49d0e0c76ebefa58df2e45cd68b /demos/cube.cpp
parent5261bcebd17cc4d8ab49892e6facf13a85e79669 (diff)
downloadusermoji-1f2c7e65f33fe0e3ac6537fc93ca89126aefac9a.tar.xz
demos: Fix Windows build warnrings
Change-Id: I733704e8904a77aa9071565cfc1d18b23b1c0c1c
Diffstat (limited to 'demos/cube.cpp')
-rw-r--r--demos/cube.cpp2
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