projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9507ee6
)
demos: Fix Windows build warnrings
author
Mark Lobodzinski
<mark@lunarg.com>
Mon, 10 Oct 2016 20:05:36 +0000
(14:05 -0600)
committer
Mark Lobodzinski
<mark@lunarg.com>
Mon, 10 Oct 2016 20:05:36 +0000
(14:05 -0600)
Change-Id: I733704e8904a77aa9071565cfc1d18b23b1c0c1c
demos/cube.cpp
patch
|
blob
|
history
diff --git
a/demos/cube.cpp
b/demos/cube.cpp
index
2be97bb
..
8d410bf
100644
(file)
--- 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