Skip to content

Commit 965b5b6

Browse files
authored
Change uint to unsigned
1 parent a988320 commit 965b5b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/TargetBuiltins/WebAssembly.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Value *CodeGenFunction::EmitWebAssemblyBuiltinExpr(unsigned BuiltinID,
246246
llvm::FunctionType *LLVMFuncTy =
247247
cast<llvm::FunctionType>(ConvertType(QualType(FuncTy, 0)));
248248

249-
uint NParams = LLVMFuncTy->getNumParams();
249+
unsigned NParams = LLVMFuncTy->getNumParams();
250250
std::vector<Value *> Args;
251251
Args.reserve(NParams + 3);
252252
// The only real argument is the FuncRef
@@ -273,7 +273,7 @@ Value *CodeGenFunction::EmitWebAssemblyBuiltinExpr(unsigned BuiltinID,
273273
// The token type indicates the boundary between return types and param
274274
// types.
275275
Args.push_back(PoisonValue::get(llvm::Type::getTokenTy(getLLVMContext())));
276-
for (uint i = 0; i < NParams; i++) {
276+
for (unsigned i = 0; i < NParams; i++) {
277277
addType(LLVMFuncTy->getParamType(i));
278278
}
279279
Function *Callee = CGM.getIntrinsic(Intrinsic::wasm_ref_test_func);

0 commit comments

Comments
 (0)