Skip to content

Commit

Permalink
msp430 target: c_long is always 32 bits
Browse files Browse the repository at this point in the history
closes #1125
  • Loading branch information
andrewrk committed Jun 18, 2018
1 parent 906ed05 commit 92a3604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 92a3604

Please sign in to comment.