diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-05-16 10:19:16 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-05-16 10:19:35 -0400 |
| commit | f37506391795353bbb87f49b73cf0f82ad9e2c17 (patch) | |
| tree | a591dd8c4e071380978a848ba544785c8a7c7783 /src/analyze.cpp | |
| parent | a7570186ebdffd97878a983b8e8a09902841e279 (diff) | |
| download | zig-f37506391795353bbb87f49b73cf0f82ad9e2c17.tar.gz zig-f37506391795353bbb87f49b73cf0f82ad9e2c17.zip | |
fix printf format specifier
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 932a47339a..8c27e2268f 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -4127,7 +4127,7 @@ TypeTableEntry *make_int_type(CodeGen *g, bool is_signed, uint32_t size_in_bits) const char u_or_i = is_signed ? 'i' : 'u'; buf_resize(&entry->name, 0); - buf_appendf(&entry->name, "%c%" PRIu8, u_or_i, size_in_bits); + buf_appendf(&entry->name, "%c%" PRIu32, u_or_i, size_in_bits); unsigned dwarf_tag; if (is_signed) { |
