diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-12-07 13:48:06 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-12-07 13:49:29 +0100 |
commit | 0d29b2558987eda5d8a913638f40d506172606ac (patch) | |
tree | a72710c311f0a86862adc62be21d9f29087dbce5 /vm.c | |
parent | 5680fab214cd35a54636d5dfb95dc552d1258144 (diff) |
treewide: fix "resource" misspellings
Fix various misspelling of "resource".
This commit changes the exported libucode ABI.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1025,7 +1025,7 @@ uc_vm_insn_load_val(uc_vm_t *vm, uc_vm_insn_t insn) uc_value_t *v = uc_vm_stack_pop(vm); switch (ucv_type(v)) { - case UC_RESSOURCE: + case UC_RESOURCE: case UC_OBJECT: case UC_ARRAY: uc_vm_stack_push(vm, ucv_key_get(vm, v, k)); @@ -1833,7 +1833,7 @@ uc_vm_insn_next(uc_vm_t *vm, uc_vm_insn_t insn) struct lh_entry *curr; uint64_t n; - if (k != NULL && ucv_type(k) != UC_RESSOURCE) { + if (k != NULL && ucv_type(k) != UC_RESOURCE) { fprintf(stderr, "Invalid iterator value\n"); abort(); } |