mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
chang type from 'int' to 'size_t'. This will fix revision number 302652
llvm-svn: 302660
This commit is contained in:
parent
28b1842d00
commit
4962148370
@ -1223,7 +1223,7 @@ bool AsmParser::isAltmacroString(SMLoc &StrLoc, SMLoc &EndLoc) {
|
||||
|
||||
/// \brief creating a string without the escape characters '!'.
|
||||
void AsmParser::altMacroString(StringRef AltMacroStr,std::string &Res) {
|
||||
for (int Pos = 0; Pos < AltMacroStr.size(); Pos++) {
|
||||
for (size_t Pos = 0; Pos < AltMacroStr.size(); Pos++) {
|
||||
if (AltMacroStr[Pos] == '!')
|
||||
Pos++;
|
||||
Res += AltMacroStr[Pos];
|
||||
|
Loading…
Reference in New Issue
Block a user