Skip to content

Commit 92a3604

Browse files
committedJun 18, 2018
msp430 target: c_long is always 32 bits
closes #1125
·
0.15.20.3.0
1 parent 906ed05 commit 92a3604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/target.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) {
697697
return 16;
698698
case CIntTypeLong:
699699
case CIntTypeULong:
700-
return get_arch_pointer_bit_width(target->arch.arch);
700+
return 32;
701701
case CIntTypeLongLong:
702702
case CIntTypeULongLong:
703703
return 64;

0 commit comments

Comments
 (0)
Please sign in to comment.