diff --git a/src/page.win.cpp b/src/page.win.cpp index 46b9690..93e26cf 100644 --- a/src/page.win.cpp +++ b/src/page.win.cpp @@ -236,7 +236,7 @@ namespace lime const auto granularity = si.dwAllocationGranularity; - auto min = where - std::numeric_limits::max(); + auto min = static_cast(where) - std::numeric_limits::max(); auto max = where + std::numeric_limits::max(); min += (granularity - (min % granularity));