From 1f2c7e65f33fe0e3ac6537fc93ca89126aefac9a Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Mon, 10 Oct 2016 14:05:36 -0600 Subject: demos: Fix Windows build warnrings Change-Id: I733704e8904a77aa9071565cfc1d18b23b1c0c1c --- demos/cube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/cube.cpp') 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(width), static_cast(height)}; AdjustWindowRect(&wr, WS_OVERLAPPEDWINDOW, FALSE); window = CreateWindowEx(0, name, // class name -- cgit v1.2.3