Fixed code in vm_pop_hword DWORD -> DHWORD

Though practically this would work, as the storage for the half word is
not limited in any way, nevertheless it isn't syntactically right and
it's better to fix now.
This commit is contained in:
2024-04-09 15:11:48 +06:30
parent afb48b65b9
commit 9d4e56c441

View File

@@ -906,7 +906,7 @@ err_t vm_pop_hword(vm_t *vm, data_t *ret)
vm_pop_byte(vm, &b);
bytes[i] = b.as_byte;
}
*ret = DWORD(convert_bytes_to_hword(bytes));
*ret = DHWORD(convert_bytes_to_hword(bytes));
return ERR_OK;
}