Skip to content

Commit efc324e

Browse files
committed
Fix Windows build
1 parent 734c8bf commit efc324e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Sandbox/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ project "Sandbox"
22
kind "ConsoleApp"
33

44
language "C++"
5-
cppdialect "C++17"
5+
cppdialect "C++20"
66

77
targetdir ("../bin/" .. outputdir .. "/%{prj.name}")
88
objdir("../bin-int/" .. outputdir .. "/%{prj.name}")

Sandbox/src/StringSim/StringSim.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ StringSim::StringSim()
3333
// m_Links.push_back(Link { i, i + 1, 0.5f });
3434
// }
3535

36-
const uint ys = 20;
37-
const uint xs = 40;
36+
const uint32_t ys = 20;
37+
const uint32_t xs = 40;
3838
for (uint32_t x = 0; x < xs; x++) {
3939
for (uint32_t y = 0; y < ys; y++) {
4040
// if (y > 0) m_Links.push_back(Link { 10 * y + x - 1, 10 * y + x, 0.5f });

0 commit comments

Comments
 (0)