[llvm-commits] [llvm] r84826 - /llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp

Chris Lattner sabre at nondot.org
Wed Oct 21 20:42:32 PDT 2009


Author: lattner
Date: Wed Oct 21 22:42:27 2009
New Revision: 84826

URL: http://llvm.org/viewvc/llvm-project?rev=84826&view=rev
Log:
fix warning.

Modified:
    llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp

Modified: llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp?rev=84826&r1=84825&r2=84826&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp Wed Oct 21 22:42:27 2009
@@ -57,7 +57,7 @@
   if (F->hasSection()) {
     std::string Sectn = F->getSection();
     std::string StrToFind = "Overlay=";
-    unsigned Pos = Sectn.find(StrToFind);
+    std::string::size_type Pos = Sectn.find(StrToFind);
 
     // Retreive the color number if the key is found.
     if (Pos != std::string::npos) {





More information about the llvm-commits mailing list