diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-04-09 22:33:32 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-04-09 22:33:32 +0100 |
| commit | aaf355e750c0b1bf8ed17c9392250a52f0046f8c (patch) | |
| tree | 80ff46c7f93e6fcaad184b4374d9ef21ae113576 /src/types.c | |
| parent | 0683d2b4f4859a229b6a31790b5a744da577fcd6 (diff) | |
Basic Linux Build!
Diffstat (limited to 'src/types.c')
| -rw-r--r-- | src/types.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/types.c b/src/types.c index 773ef5efe..a12432747 100644 --- a/src/types.c +++ b/src/types.c @@ -2058,12 +2058,12 @@ gbString write_type_to_string(gbString str, Type *type) { break; case Type_Array: - str = gb_string_appendc(str, gb_bprintf("[%lld]", type->Array.count)); + str = gb_string_appendc(str, gb_bprintf("[%d]", cast(int)type->Array.count)); str = write_type_to_string(str, type->Array.elem); break; case Type_Vector: - str = gb_string_appendc(str, gb_bprintf("[vector %lld]", type->Vector.count)); + str = gb_string_appendc(str, gb_bprintf("[vector %d]", cast(int)type->Vector.count)); str = write_type_to_string(str, type->Vector.elem); break; @@ -2177,7 +2177,7 @@ gbString write_type_to_string(gbString str, Type *type) { case Type_Map: { str = gb_string_appendc(str, "map["); if (type->Map.count > 0) { - str = gb_string_appendc(str, gb_bprintf("%lld, ", type->Map.count)); + str = gb_string_appendc(str, gb_bprintf("%d, ", cast(int)type->Map.count)); } str = write_type_to_string(str, type->Map.key); str = gb_string_appendc(str, "]"); |