changeset 787:ffd2e5dbbf64

i64 target type wrong on strinit
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 21 Nov 2010 12:04:56 +0900
parents 3ebbec5a72dc
children fcb642ef08c9
files mc-codegen.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mc-codegen.c	Sun Nov 21 11:44:09 2010 +0900
+++ b/mc-codegen.c	Sun Nov 21 12:04:56 2010 +0900
@@ -3890,7 +3890,7 @@
         default:
             type = t  = caddr(init);       // type of source
 	    // e = rvalue_t(e,t);
-	    offset=assign_data(e,t,v,offset);
+	    offset=assign_data(e,target_type,v,offset);
         }
     } else {
         error(-1);