Fix a user-reported error building with GCC 3.4.4 on Cygwin.
authorChris Lattner <sabre@nondot.org>
Tue, 5 Jun 2007 23:49:06 +0000 (23:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 Jun 2007 23:49:06 +0000 (23:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37445 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Function.cpp

index 54ed25c7b7f21c9a830298c26a5ad8649161191e..c10f8d75bd4730817836a1492d919e8fd406f4a3 100644 (file)
@@ -271,7 +271,7 @@ std::string Intrinsic::getName(ID id, const Type **Tys, unsigned numTys) {
 }
 
 const FunctionType *Intrinsic::getType(ID id, const Type **Tys, 
-                                       uint32_t numTys) {
+                                       unsigned numTys) {
   const Type *ResultTy = NULL;
   std::vector<const Type*> ArgTys;
   bool IsVarArg = false;