Signed-off-by: Tomek Grabiec <[email protected]>
---
vm/object.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vm/object.c b/vm/object.c
index f3a738f..7ed883d 100644
--- a/vm/object.c
+++ b/vm/object.c
@@ -46,7 +46,7 @@ struct vm_object *vm_object_alloc_native_array(int type, int
count)
int vm_type;
vm_type = bytecode_type_to_vmtype(type);
- assert(vm_type != 0);
+ assert(vm_type != J_VOID);
res = zalloc(sizeof(*res) + get_vmtype_size(vm_type) * count);
if (!res) {
--
1.6.0.6
------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel