From 765fc04a928bfdc8845b38a52fd04e59a295107d Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Wed, 26 Nov 2025 13:44:27 +0800 Subject: Fix for cannot init a parameter of type 'Weight' with an lvalue of type 'int64_t' (aka 'long') --- Bootstrap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.cxx b/Bootstrap.cxx index 92fa469..a741ea8 100644 --- a/Bootstrap.cxx +++ b/Bootstrap.cxx @@ -20,7 +20,7 @@ #define OVERRIDE_FONT_WEIGHT(A, B) \ {\ auto fontWeight = toml_int_in(bootstrap, A);\ - if (fontWeight.ok) B.setWeight(fontWeight.u.i);\ + if (fontWeight.ok) B.setWeight(static_cast(fontWeight.u.i));\ } #define OVERRIDE_COLORS(A, B) \ -- cgit v1.2.3