diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-04-26 13:46:26 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-04-26 13:46:26 +0200 |
commit | 28825acae8ee95543d4dc4f2c38e9711d4d4a420 (patch) | |
tree | 546ba60d87f2bb2c52442b62170ba8d5c8d8888c /vm.c | |
parent | 9c5106a6b76527af3b164f81cea8e2dede46ea4d (diff) |
types: support creating ressource values without associated type
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1807,10 +1807,8 @@ uc_vm_insn_next(uc_vm *vm, enum insn_type insn) abort(); } - if (k == NULL) { + if (k == NULL) k = ucv_ressource_new(NULL, NULL); - ((uc_ressource_t *)k)->type = UINT64_MAX; - } iterk = (uc_ressource_t *)k; |