Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 include/vm/object.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vm/object.h b/include/vm/object.h
index 3b5a707..899e741 100644
--- a/include/vm/object.h
+++ b/include/vm/object.h
@@ -181,9 +181,9 @@ array_get_field_float(struct vm_object *obj, int index)
 }
 
 static inline void
-array_set_field_double(struct vm_object *obj, int index, uint16_t value)
+array_set_field_double(struct vm_object *obj, int index, double value)
 {
-       *(uint16_t *) &obj->fields[index * get_vmtype_size(J_DOUBLE)] = value;
+       *(double *) &obj->fields[index * get_vmtype_size(J_DOUBLE)] = value;
 }
 
 static inline double
-- 
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