aboutsummaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/runtime.c b/vm/runtime.c
index 33ae383..a005f9e 100644
--- a/vm/runtime.c
+++ b/vm/runtime.c
@@ -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;
}