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.
1 parent 4554c85 commit a6ae223Copy full SHA for a6ae223
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