Ignore:
Timestamp:
Dec 16, 2020, 4:03:50 PM (4 years ago)
Author:
Fangren Yu <f37yu@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
b107885
Parents:
53449a4
Message:

fix size type on 32 bit build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r53449a4 r8ba363e  
    15391539                if ( type->dimension ) {
    15401540                        #warning should use new equivalent to Validate::SizeType rather than sizeType here
    1541                         ast::ptr< ast::Type > sizeType = new ast::BasicType{ ast::BasicType::LongUnsignedInt };
     1541                        ast::ptr< ast::Type > sizeType = ast::sizeType;
    15421542                        ast::mutate_field(
    15431543                                type, &PtrType::dimension,
Note: See TracChangeset for help on using the changeset viewer.