We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d37e8f2 + a6ae223 commit df8cac6Copy full SHA for df8cac6
clang/lib/AST/ByteCode/Compiler.cpp
@@ -2435,7 +2435,7 @@ bool Compiler<Emitter>::VisitStringLiteral(const StringLiteral *E) {
2435
// emitted. Read only the array length from the string literal.
2436
unsigned ArraySize = CAT->getZExtSize();
2437
unsigned N = std::min(ArraySize, E->getLength());
2438
- size_t CharWidth = E->getCharByteWidth();
+ unsigned CharWidth = E->getCharByteWidth();
2439
2440
for (unsigned I = 0; I != N; ++I) {
2441
uint32_t CodeUnit = E->getCodeUnit(I);
0 commit comments