diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 916615e07..6955a7a5e 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -2298,6 +2298,9 @@ struct PrintSExpression : public OverriddenVisitor<PrintSExpression> { o << '('; printMedium(o, "shared "); } + if (curr->is64()) { + o << "i64 "; + } o << curr->initial; if (curr->hasMax()) { o << ' ' << curr->max; @@ -2446,7 +2449,7 @@ struct PrintSExpression : public OverriddenVisitor<PrintSExpression> { << section.data.size(); bool isPrintable = true; for (auto c : section.data) { - if (!isprint(c)) { + if (!isprint(static_cast<unsigned char>(c))) { isPrintable = false; break; } |