zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 92a36040b1d0882c1e9439b998d3b855e84b9f2c (tree)
parent 906ed059ce7c5c9acb5088d38d9da76ad5c93407
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Mon, 18 Jun 2018 01:03:45 -0400

msp430 target: c_long is always 32 bits

closes #1125

Diffstat:
Msrc/target.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/target.cpp b/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;