Swap reinterpret_cast for static_cast
Swap reinterpret_cast for static_cast
This commit is contained in:
		@@ -137,7 +137,7 @@ class TypeWithoutFormatter {
 | 
				
			|||||||
 public:
 | 
					 public:
 | 
				
			||||||
  // This default version is called when kTypeKind is kOtherType.
 | 
					  // This default version is called when kTypeKind is kOtherType.
 | 
				
			||||||
  static void PrintValue(const T& value, ::std::ostream* os) {
 | 
					  static void PrintValue(const T& value, ::std::ostream* os) {
 | 
				
			||||||
    PrintBytesInObjectTo(reinterpret_cast<const unsigned char*>(
 | 
					    PrintBytesInObjectTo(static_cast<const unsigned char*>(
 | 
				
			||||||
                             reinterpret_cast<const void *>(&value)),
 | 
					                             reinterpret_cast<const void *>(&value)),
 | 
				
			||||||
                         sizeof(value), os);
 | 
					                         sizeof(value), os);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user