diff --git a/dmd2/mtype.c b/dmd2/mtype.c index 7c9abf6b..685477f9 100644 --- a/dmd2/mtype.c +++ b/dmd2/mtype.c @@ -126,7 +126,7 @@ Type *Type::tvoidptr; Type *Type::tstring; Type *Type::basic[TMAX]; unsigned char Type::mangleChar[TMAX]; -unsigned char Type::sizeTy[TMAX]; +unsigned short Type::sizeTy[TMAX]; StringTable Type::stringtable; #if IN_LLVM diff --git a/dmd2/mtype.h b/dmd2/mtype.h index d7a380c5..bb2e0e19 100644 --- a/dmd2/mtype.h +++ b/dmd2/mtype.h @@ -216,7 +216,7 @@ struct Type : Object static Type *basic[TMAX]; static unsigned char mangleChar[TMAX]; - static unsigned char sizeTy[TMAX]; + static unsigned short sizeTy[TMAX]; static StringTable stringtable; #if IN_LLVM static StringTable deco_stringtable;