diff --git a/IntelPresentMon/AppCef/source/util/CefValues.h b/IntelPresentMon/AppCef/source/util/CefValues.h index fa1f4cfd..52d493b2 100644 --- a/IntelPresentMon/AppCef/source/util/CefValues.h +++ b/IntelPresentMon/AppCef/source/util/CefValues.h @@ -63,7 +63,7 @@ namespace p2c::client::util } else if constexpr (std::is_integral_v) { - return CefV8Value::CreateInt(int32(val)); + return CefV8Value::CreateInt(int32_t(val)); } else if constexpr (std::is_floating_point_v) { @@ -71,7 +71,7 @@ namespace p2c::client::util } else if constexpr (std::is_enum_v) { - return CefV8Value::CreateInt(int32(val)); + return CefV8Value::CreateInt(int32_t(val)); } else if constexpr (std::is_same_v || std::is_same_v) {