Avoid implicit conversion from int to char
This commit is contained in:
		@@ -315,7 +315,7 @@ void PrintTo(__uint128_t v, ::std::ostream* os) {
 | 
			
		||||
    low = low / 10 + high_mod * 1844674407370955161 + carry / 10;
 | 
			
		||||
 | 
			
		||||
    char digit = static_cast<char>(carry % 10);
 | 
			
		||||
    *--p = '0' + digit;
 | 
			
		||||
    *--p = static_cast<char>('0' + digit);
 | 
			
		||||
  }
 | 
			
		||||
  *os << p;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user