Reported-and-analyzed-by: Tomek Grabiec <tgrab...@gmail.com>
Signed-off-by: Vegard Nossum <vegard.nos...@gmail.com>
---
 vm/itable.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vm/itable.c b/vm/itable.c
index 77409c0..955aa66 100644
--- a/vm/itable.c
+++ b/vm/itable.c
@@ -135,8 +135,8 @@ itable_resolver_stub_error(struct vm_method *method, struct 
vm_object *obj)
 
 static int itable_entry_compare(const void *a, const void *b)
 {
-       const struct itable_entry *ae = a;
-       const struct itable_entry *be = b;
+       const struct itable_entry *ae = *(const struct itable_entry **) a;
+       const struct itable_entry *be = *(const struct itable_entry **) b;
 
        if (ae->i_method < be->i_method)
                return -1;
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to