Fix some MSVC++ warnings

This commit is contained in:
Wilson Snyder
2010-01-24 20:53:24 -05:00
parent cbc90e7ffb
commit f71749c3c4
13 changed files with 28 additions and 18 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ string V3Error::lineStr (const char* filename, int lineno) {
if (fnslashp) filename = fnslashp+1;
out<<filename<<":"<<dec<<lineno<<":";
const char* spaces = " ";
int numsp = out.str().length(); if (numsp>20) numsp = 20;
size_t numsp = out.str().length(); if (numsp>20) numsp = 20;
out<<(spaces + numsp);
return out.str();
}