Commit 92a36040b1

Andrew Kelley <superjoe30@gmail.com>
2018-06-18 07:03:45
msp430 target: c_long is always 32 bits
closes #1125
1 parent 906ed05
Changed files (1)
src/target.cpp
@@ -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;