diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-16 13:24:20 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-09-16 13:24:20 +0200 |
| commit | 0d12432d3fa3fa3727a24973a9aa2bbae5ab9068 (patch) | |
| tree | 4ce3380a8456cd69f4892ec2dd387b76109f2f55 /src/check_type.cpp | |
| parent | 6d7df6f335ad402b327830277168c3cb1e0ef011 (diff) | |
VS: Fix compilation using VS 2022.
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 00a4c4ab2..ffdc22898 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -826,7 +826,7 @@ void check_bit_set_type(CheckerContext *c, Type *type, Type *named_type, Ast *no GB_ASSERT(type->kind == Type_BitSet); type->BitSet.node = node; - i64 const DEFAULT_BITS = cast(i64)(8*build_context.word_size); + /* i64 const DEFAULT_BITS = cast(i64)(8*build_context.word_size); */ i64 const MAX_BITS = 128; Ast *base = unparen_expr(bs->elem); |