msp430 target: c_long is always 32 bits

closes #1125
This commit is contained in:
Andrew Kelley 2018-06-18 01:03:45 -04:00
parent 906ed059ce
commit 92a36040b1

View File

@ -697,7 +697,7 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
return 16;
case CIntTypeLong:
case CIntTypeULong:
return get_arch_pointer_bit_width(target->arch.arch);
return 32;
case CIntTypeLongLong:
case CIntTypeULongLong:
return 64;