From 3ba24853938c57a1c22451b46568ad00df4d63a2 Mon Sep 17 00:00:00 2001 From: illusion0001 <37698908+illusion0001@users.noreply.github.com> Date: Sat, 2 Mar 2024 00:07:35 -0600 Subject: [PATCH] Fix undefined `int32` At least on `cef_binary_122.1.8+g40272b5+chromium-122.0.6261.69` value type `int32` doesn't seem to exist anymore. ``` 1>IntelPresentMon\AppCef\source\util\CefValues.h(68,33): error C3861: 'int32': identifier not found ``` --- IntelPresentMon/AppCef/source/util/CefValues.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {