1
0
mirror of synced 2024-11-24 15:50:16 +01:00

fix: Buffer to integer node not working correctly

This commit is contained in:
WerWolv 2023-09-03 15:41:00 +02:00
parent dc5e5344c5
commit 26f4aa0d9f

View File

@ -532,7 +532,7 @@ namespace hex::plugin::builtin {
void process() override {
const auto &input = this->getBufferOnInput(0);
i64 output = 0;
i128 output = 0;
if (input.empty() || input.size() > sizeof(output))
throwNodeError("Buffer is empty or bigger than 64 bits");