fix: Buffer to integer node not working correctly
This commit is contained in:
parent
dc5e5344c5
commit
26f4aa0d9f
@ -532,7 +532,7 @@ namespace hex::plugin::builtin {
|
|||||||
void process() override {
|
void process() override {
|
||||||
const auto &input = this->getBufferOnInput(0);
|
const auto &input = this->getBufferOnInput(0);
|
||||||
|
|
||||||
i64 output = 0;
|
i128 output = 0;
|
||||||
if (input.empty() || input.size() > sizeof(output))
|
if (input.empty() || input.size() > sizeof(output))
|
||||||
throwNodeError("Buffer is empty or bigger than 64 bits");
|
throwNodeError("Buffer is empty or bigger than 64 bits");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user