]> granicus.if.org Git - clang/commitdiff
make these be unsigned now that they are eagerly created.
authorChris Lattner <sabre@nondot.org>
Mon, 27 Apr 2009 19:03:22 +0000 (19:03 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Apr 2009 19:03:22 +0000 (19:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70229 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/PCHWriter.cpp

index d8603dfb6999cde1cb3c504262eb75a382704cd0..bb85b68b7e44f202bb8a5b816d5d80044d0c6116 100644 (file)
@@ -681,10 +681,10 @@ void PCHWriter::WriteSourceManagerBlock(SourceManager &SourceMgr,
   Stream.EnterSubblock(pch::SOURCE_MANAGER_BLOCK_ID, 3);
 
   // Abbreviations for the various kinds of source-location entries.
-  int SLocFileAbbrv = CreateSLocFileAbbrev(Stream);
-  int SLocBufferAbbrv = CreateSLocBufferAbbrev(Stream);
-  int SLocBufferBlobAbbrv = CreateSLocBufferBlobAbbrev(Stream);
-  int SLocInstantiationAbbrv = CreateSLocInstantiationAbbrev(Stream);
+  unsigned SLocFileAbbrv = CreateSLocFileAbbrev(Stream);
+  unsigned SLocBufferAbbrv = CreateSLocBufferAbbrev(Stream);
+  unsigned SLocBufferBlobAbbrv = CreateSLocBufferBlobAbbrev(Stream);
+  unsigned SLocInstantiationAbbrv = CreateSLocInstantiationAbbrev(Stream);
 
   // Write the line table.
   if (SourceMgr.hasLineTable()) {