Cleanup: Use fixed width integer for int results

We use fixed width integers in the variant definition, so retrieve using
fixed width as well.
This commit is contained in:
Omar Emara
2025-03-20 12:16:46 +02:00
parent 7165146fb2
commit 38446399f4

View File

@@ -728,7 +728,7 @@ class FileOutputOperation : public NodeOperation {
return buffer;
}
case ResultType::Int: {
const float value = float(result.get_single_value<int>());
const float value = float(result.get_single_value<int32_t>());
CPPType::get<float>().fill_assign_n(&value, buffer, length);
return buffer;
}