changeset 499:d2570c00ca54

*** empty log message ***
author kono
date Thu, 22 Dec 2005 12:11:22 +0900
parents 574856cee9da
children 0a4ca939f403
files mc-codegen.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mc-codegen.c	Thu Dec 22 11:50:32 2005 +0900
+++ b/mc-codegen.c	Thu Dec 22 12:11:22 2005 +0900
@@ -3858,6 +3858,8 @@
 	if (type==FLOAT) t=DOUBLE; 
 	else if (type==CHAR) t=INT;
 	else if (type==UCHAR) t=UNSIGNED;
+	else if (type==SHORT) t=INT;
+	else if (type==USHORT) t=UNSIGNED;
     }
     if (type_value(type)>0 && car(type_value(type))==ARRAY && car(e)==GVAR) {
 	e=list2(ADDRESS,e);