fix a bug in pic_false_value

This commit is contained in:
Yuichi Nishiwaki 2013-11-05 21:08:32 +09:00
parent fbd5606713
commit ac14a2271b
2 changed files with 1 additions and 2 deletions

View File

@ -43,7 +43,7 @@ typedef struct {
#define pic_ptr(v) ((void *)((long long)0xffffffffffff & (long long)(v).u.data))
#define pic_vtype(v) (((v).u.type_ & 0xf0000)>>16)
#define pic_init_value(v,vtype) (((v).u.type_ = ((unsigned int)0xfff00000|((vtype)<<16))), (v).u.i = 0)
#define pic_init_value(v,vtype) (((v).u.type_ = ((unsigned int)0xfff00000|(unsigned int)((vtype)<<16))), (v).u.i = 0)
#else

View File

@ -116,7 +116,6 @@ pic_false_value()
pic_value v;
pic_init_value(v, PIC_VTYPE_FALSE);
v.u.data = NULL;
return v;
}