Warning fixes for 64bit visual c++ on Windows

This commit is contained in:
William S Fulton 2015-07-03 19:06:39 +01:00
commit edcdaaec16
17 changed files with 55 additions and 55 deletions

View file

@ -2629,7 +2629,7 @@ private:
// exponentiation. Treat anything else as too complicated to
// handle as a Go constant.
char *p = Char(value);
int len = strlen(p);
int len = (int)strlen(p);
bool need_copy = false;
while (len > 0) {
char c = p[len - 1];