From: Chris Lattner Date: Mon, 27 Apr 2009 19:03:22 +0000 (+0000) Subject: make these be unsigned now that they are eagerly created. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=828e18cd80319c67b9b9776d1ed5411161d9f0bf;p=clang make these be unsigned now that they are eagerly created. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70229 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/PCHWriter.cpp b/lib/Frontend/PCHWriter.cpp index d8603dfb69..bb85b68b7e 100644 --- a/lib/Frontend/PCHWriter.cpp +++ b/lib/Frontend/PCHWriter.cpp @@ -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()) {